Commit Graph

24 Commits

Author SHA1 Message Date
Ben Marsh
96188db932 Output a JSON log file automatically as part of the core logger.
#preflight 62965e5c452ffe576a822b95

[CL 20440060 by Ben Marsh in ue5-main branch]
2022-05-31 14:41:00 -04:00
Ben Marsh
25d61fb2e0 Horde: Rename environment variable used for structured logging.
#preflight none

[CL 20353448 by Ben Marsh in ue5-main branch]
2022-05-24 15:13:25 -04:00
Ben Marsh
4cdd339b3e UAT: Support multi-line log messages correctly in log parser, and guard against exceptions when parsing JSON log events.
#preflight 628b915d693c5e1de27b7a46

[CL 20326722 by Ben Marsh in ue5-main branch]
2022-05-23 09:58:48 -04:00
Ben Marsh
6f0dd55f41 Horde: Run event matchers inside UAT and UBT, rather than relying on Horde to do so. This is a step towards having having structured log events emitted at source, where we can make smarter decisions as to the meaning of tool output, and add additional context when parsing it.
#preflight 628550d8660b4a15be5a9859

[CL 20278597 by Ben Marsh in ue5-main branch]
2022-05-19 08:16:07 -04:00
Ben Marsh
5ca9fb8e90 EpicGames.Core: Speculative fix for exceptions when writing log output from background threads.
#preflight none

[CL 20248721 by Ben Marsh in ue5-main branch]
2022-05-17 15:03:25 -04:00
Ben Marsh
6b2db33d72 Horde: Add a log event parser into the standard EpicGames.Core.Log class.
#preflight 6283d02d114e08fa2f236b36

[CL 20245803 by Ben Marsh in ue5-main branch]
2022-05-17 12:57:51 -04:00
jonathan adamczewski
d4f03243e3 Remove various obsolete (deprecated) items in C# code
#jira none
#trivial
#rnx
#preflight 625a32bbde3638cefa4106cb

[CL 19786027 by jonathan adamczewski in ue5-main branch]
2022-04-18 11:27:53 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
Ben Marsh
791885c855 UGS: Fix build errors for UnrealGameSyncLauncher and port to use new P4 library.
#preflight none

[CL 18518998 by Ben Marsh in ue5-main branch]
2022-01-05 10:22:48 -05:00
ben marsh
c1080f66b0 Build fix.
#ROBOMERGE-OWNER: aurel.cordonnier
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-COMMAND: _robomerge[starship] UE5-Release-Engine-Test
#ROBOMERGE-SOURCE: CL 18091353 in //UE5/Release-5.0/... via CL 18091363
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v889-18060218)

[CL 18091593 by ben marsh in ue5-release-engine-test branch]
2021-11-08 14:49:05 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
jonathan adamczewski
757e12f167 EpicGames.Core: Log.cs
Add annotations for format-style arguments

#jira none
#rb tim.smith

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 17594756 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17594759 by jonathan adamczewski in ue5-release-engine-test branch]
2021-09-22 08:44:41 -04:00
jonathan adamczewski
9ccfa4b86c UnrealBuildTool, AutomationTool:
Print path to log file, print a timestamp at the top of each log file, don't print (wrong) callstack location.

#jira none
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 17351052 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17351057 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-30 08:44:36 -04:00
ben marsh
3f942a1f30 UAT: Always include timestamps in the on-disk log, even if they aren't displayed on the console
#ROBOMERGE-SOURCE: CL 16964873 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16964891 by ben marsh in ue5-release-engine-test branch]
2021-07-26 22:11:00 -04:00
Ben Marsh
6033fc315a Fix UBT log not containing all log levels.
#rb none
#rnx

[CL 15680881 by Ben Marsh in ue5-main branch]
2021-03-11 16:45:48 -04:00
Ben Marsh
df863acf2a Add extension methods for creating new default logger instances.
#rb none

[CL 15106644 by Ben Marsh in ue5-main branch]
2021-01-15 10:49:19 -04:00
Ben Marsh
89691e43c6 Make LogIndentScope independent of the logger being used. Any loggers that want to use this state for additional formatting can do so with an enricher.
#rb none
#rnx

[CL 14967662 by Ben Marsh in ue5-main branch]
2020-12-28 17:45:35 -04:00
Ben Marsh
4d79ab2478 Change UAT/UBT log system to be backed by a Microsoft.Extensions.Logging.ILogger instance, to allow us to start transitioning towards structured logging for all C# tools.
Current ILogger implementation contains the same functionality as before, with message formatting options passed through to ILogger.Log via a LogMessage instance.

#rb none
#rnx

[CL 14967642 by Ben Marsh in ue5-main branch]
2020-12-28 16:36:30 -04:00
Ben Marsh
3275355fdf Merging functionality from Horde fork of EpicGames.Core, and first pass on fixing up nullable annotations.
#rb none
#rnx

[CL 14967557 by Ben Marsh in ue5-main branch]
2020-12-28 14:34:13 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00