Skip to main content

parse_log_level

Function parse_log_level 

Source
pub fn parse_log_level(s: &str) -> Option<LogLevel>
Expand description

Parse a CLI/workload loglevel= value. Case-insensitive, accepts the standard names plus the abbreviations the log sink emits (DBG / INF / WRN / ERR).