Skip to main content

Module log_parse

Module log_parse 

Source
Expand description

Structured log line parsing.

Parses daemon stdout/stderr lines into structured fields (level, msg, logger, fields_json) based on the configured log_format. Supports JSON and logfmt formats.

Structs§

ParsedLog
Result of parsing a single log line.

Functions§

normalize_level_str
parse
Parse a log line according to the given format string.