Skip to main content

parse_log_format

Function parse_log_format 

Source
pub fn parse_log_format(value: Option<&str>) -> LogFormat
Expand description

Parse the configured log format. Defaults to Pretty for None or any unrecognized value – a config typo in log.format should degrade gracefully rather than stop a tune from running.