#[non_exhaustive]pub enum EntryHeader {
UnityCrossThreadLogger,
ConnectionManager,
Matchmaking,
Metadata,
TruncationMarker,
}Expand description
The known log entry header prefixes in MTG Arena’s Player.log.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnityCrossThreadLogger
[UnityCrossThreadLogger] — the most common header, used for
game state, client actions, match lifecycle, and most other events.
ConnectionManager
[ConnectionManager] — emitted for Arena’s connection-lifecycle
diagnostics (e.g., Reconnect result : ..., Reconnect succeeded,
Reconnect failed). These lines are plain-text, single-line entries
in practice.
Matchmaking
Matchmaking: — a bare (non-bracketed) prefix Arena emits for
matchmaking-side connection markers such as
Matchmaking: GRE connection lost. These lines are plain-text,
single-line entries in practice.
Metadata
Metadata lines that appear outside bracket-delimited entries.
Currently covers DETAILED LOGS: ENABLED and DETAILED LOGS: DISABLED,
which Arena writes near the top of every session (typically line 24).
TruncationMarker
[Message summarized because one or more GameStateMessages exceeded the 50 GameObject or 50 Annotation limit.] — Arena’s truncation marker
emitted in place of an oversized GameStateMessage body. The marker
is followed by ::: GameStateMessage, :: GameObject Count = N,
:: Annotation Count = M, and the next sibling message header. The
GSM body itself is irrecoverable from Player.log; this header
surfaces the signal so downstream consumers can detect a missed
gsm_id via the gap.
Implementations§
Trait Implementations§
Source§impl Clone for EntryHeader
impl Clone for EntryHeader
Source§fn clone(&self) -> EntryHeader
fn clone(&self) -> EntryHeader
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EntryHeader
Source§impl Debug for EntryHeader
impl Debug for EntryHeader
Source§impl Display for EntryHeader
impl Display for EntryHeader
impl Eq for EntryHeader
Source§impl PartialEq for EntryHeader
impl PartialEq for EntryHeader
Source§fn eq(&self, other: &EntryHeader) -> bool
fn eq(&self, other: &EntryHeader) -> bool
self and other values to be equal, and is used by ==.