Expand description
Log entry prefix identification and multi-line JSON accumulation.
Detects log entry boundaries using the [UnityCrossThreadLogger],
[Client GRE], [ConnectionManager], and Matchmaking: header patterns,
then accumulates subsequent lines until the next header boundary to form
complete raw entries.
§Data flow
File Tailer ──(raw lines)──▸ LineBuffer ──(complete entries)──▸ RouterThe LineBuffer receives individual lines from the file tailer. When a
new log entry header is detected, it flushes the previously accumulated
lines as a complete LogEntry and begins accumulating the new entry.
Structs§
- Line
Buffer - Accumulates raw lines and produces complete
LogEntryvalues when a new header boundary is detected. - LogEntry
- A complete log entry extracted from the line buffer.
Enums§
- Entry
Header - The known log entry header prefixes in MTG Arena’s
Player.log.