Skip to main content

parse_level

Function parse_level 

Source
pub fn parse_level(raw: &str) -> LevelFilter
Expand description

Parse a stored/user-supplied level name.

Unknown values fall back to Info rather than erroring: this is read at startup, and a corrupt one-line file must not stop the app from launching.