Commit Graph

11 Commits

Author SHA1 Message Date
Ben Marsh
c45a4fa57f EpicGames.Core: Support parsing floating point numbers into LogEvent structures.
#preflight none

[CL 20327136 by Ben Marsh in ue5-main branch]
2022-05-23 10:13:02 -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
53666aa143 Horde: Allow log value formatters to write JSON output directly to the output stream, and add support for annotating FileReference objects.
#preflight 62867f7415019f64774c2d9d

[CL 20284475 by Ben Marsh in ue5-main branch]
2022-05-19 14:34:21 -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
Ben Marsh
6e67c868ed Horde: Remove Perforce information from Log parser context and event matchers, and add it in a post-process from the agent instead. This allows having to propagate context into UBT/UAT when adding structured logging context there.
#preflight 6282adb26d51c29ec41faaf6

[CL 20230659 by Ben Marsh in ue5-main branch]
2022-05-16 16:15:28 -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
Ben Marsh
793c6e8a5a Horde: Normalize namespace names to match assembly names.
#preflight none

[CL 19406255 by Ben Marsh in ue5-main branch]
2022-03-16 11:18:39 -04:00
Ben Marsh
c1362acc2d Horde: More descriptive error return paths. Errors now return a JSON log event with information about the problem, including a specific error message and properties.
- HordeControllerBase defines methods for generating standard 404, 503 responses with typed data.
- Unhandled exceptions include an exception field detailing the source of the error.
- Added a string typeconverter for AgentId and SubResourceId, so they can be bound directly to controller routes.
- Modified SessionId to be an alias for ObjectId<ISession>.

#fyi Josh.Engebretson

[CL 18369047 by Ben Marsh in ue5-main branch]
2021-12-03 11:35:15 -05:00
Ben Marsh
6d5f35aba9 Horde: Fix conversion of default logger events to LogEvent objects leaving key names inside properties.
[CL 18363605 by Ben Marsh in ue5-main branch]
2021-12-02 21:51:22 -05:00
Ben Marsh
6cd5aeac02 Horde: Remove stray newline from the end of json formatted log messages.
[CL 18224541 by Ben Marsh in ue5-main branch]
2021-11-17 11:31:36 -05:00
Ben Marsh
4febbb2dac Horde: Move structured logging into shared library, and add support for passing through preformatted log output.
This will allow UAT to output structured log events directly without having to rely on a secondary post-processing step in the Horde agent, and also allows post-processing output from tools with additional context closer to the source.

[CL 18088636 by Ben Marsh in ue5-main branch]
2021-11-08 12:18:49 -05:00