Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser extracts structured events from raw Game.log lines.
func (*Parser) Parse ¶
Parse attempts to extract an event from a log line. Some notifications span two log lines; Parse buffers state from line 1 and emits the final event when the continuation line is matched.
func (*Parser) PatternNames ¶ added in v0.3.6
PatternNames returns the names of all registered patterns, in order.
type Tailer ¶
type Tailer struct {
// contains filtered or unexported fields
}
Tailer follows a Game.log file and emits parsed events.
Click to show internal directories.
Click to hide internal directories.