Skip to main content

parse_level

Function parse_level 

Source
pub fn parse_level(rust_log: Option<&str>) -> Level
Expand description

Parses a verbosity threshold from a RUST_LOG-style value. Recognises a level keyword appearing anywhere in the string (case-insensitive); defaults to Level::Warn when none is found.