Skip to main content

parse_level

Function parse_level 

Source
pub fn parse_level(s: &str) -> Result<Level, Error>
Expand description

把 flag 值(debug|info|warn|error)映射成 Level。