Skip to main content

level_of

Function level_of 

Source
fn level_of(line: &str) -> Option<Level>
Expand description

The level a log line carries: the logs are JSON lines with "level":"INFO" near the start. A line that has none (a wrapped continuation, text from a child process) has no level.