parse_component_levels

Function parse_component_levels 

Source
pub fn parse_component_levels(
    original_map: Option<HashMap<String, Value>>,
) -> Result<HashMap<Ustr, LevelFilter>>
Expand description

Parses component-specific log levels from a JSON value map.

ยงErrors

Returns an error if a JSON value in the map is not a string or is not a valid log level.