pub fn parse(line: &str, format: &str) -> ParsedLogExpand description
Parse a log line according to the given format string.
Format values: "json", "logfmt", "text" (or any other
value is treated as text). Parse failures fall back to plain text.