selectors

Function parse_log_interest_selector_or_severity

Source
pub fn parse_log_interest_selector_or_severity(
    selector: &str,
) -> Result<LogInterestSelector, Error>
Expand description

Parses a log severity selector of the form component_selector#SEVERITY or just SEVERITY. For example: core/foo#DEBUG or INFO.