Enum sozu_command_lib::logging::LogLevel
source · #[repr(usize)]
pub enum LogLevel {
Error,
Warn,
Info,
Debug,
Trace,
}
Variants§
Error
The “error” level.
Designates very serious errors.
Warn
The “warn” level.
Designates hazardous situations.
Info
The “info” level.
Designates useful information.
Debug
The “debug” level.
Designates lower priority information.
Trace
The “trace” level.
Designates very low priority, often extremely verbose, information.
Implementations§
source§impl LogLevel
impl LogLevel
sourcepub fn to_log_level_filter(self) -> LogLevelFilter
pub fn to_log_level_filter(self) -> LogLevelFilter
Converts the LogLevel
to the equivalent LogLevelFilter
.
Trait Implementations§
source§impl Ord for LogLevel
impl Ord for LogLevel
source§impl PartialEq<LogLevelFilter> for LogLevel
impl PartialEq<LogLevelFilter> for LogLevel
source§fn eq(&self, other: &LogLevelFilter) -> bool
fn eq(&self, other: &LogLevelFilter) -> bool
source§impl PartialOrd<LogLevel> for LogLevel
impl PartialOrd<LogLevel> for LogLevel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<LogLevel> for LogLevelFilter
impl PartialOrd<LogLevel> for LogLevelFilter
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<LogLevelFilter> for LogLevel
impl PartialOrd<LogLevelFilter> for LogLevel
source§fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more