Trait structopt_flags::LogLevel[][src]

pub trait LogLevel {
    fn get_log_level(&self) -> Option<Level>;
fn get_level_filter(&self) -> LevelFilter; }

This trait is designed to provide a log level compatible with the Log crates Options or flags that can provide a log level, will implement this trait

Required Methods

Return the log level.

The log level could be None if the log has been switched off

Return the level filter.

The log level could be None if the log has been switched off

Implementors