pub trait LogLevel {
// Required method
fn default() -> Option<Level>;
// Provided methods
fn verbose_help() -> Option<&'static str> { ... }
fn verbose_long_help() -> Option<&'static str> { ... }
fn quiet_help() -> Option<&'static str> { ... }
fn quiet_long_help() -> Option<&'static str> { ... }
}
Expand description
Customize the default log-level and associated help
Required Methods§
Provided Methods§
Sourcefn verbose_help() -> Option<&'static str>
fn verbose_help() -> Option<&'static str>
Short-help message for --verbose
Sourcefn verbose_long_help() -> Option<&'static str>
fn verbose_long_help() -> Option<&'static str>
Long-help message for --verbose
Sourcefn quiet_help() -> Option<&'static str>
fn quiet_help() -> Option<&'static str>
Short-help message for --quiet
Sourcefn quiet_long_help() -> Option<&'static str>
fn quiet_long_help() -> Option<&'static str>
Long-help message for --quiet
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.