Skip to main content

requested_level

Function requested_level 

Source
pub const fn requested_level(
    log_level: Option<LogLevel>,
    verbose: u8,
) -> Option<LogLevel>
Expand description

The level the command line asks for: an explicit --log-level wins over the -v count, and a zero count with no --log-level asks for nothing.