Enum sozu_command_lib::logging::LogLevel [−][src]
#[repr(usize)] pub enum LogLevel { Error, Warn, Info, Debug, Trace, }
Variants
The “error” level.
Designates very serious errors.
The “warn” level.
Designates hazardous situations.
The “info” level.
Designates useful information.
The “debug” level.
Designates lower priority information.
The “trace” level.
Designates very low priority, often extremely verbose, information.
Implementations
impl LogLevel
[src]
impl LogLevel
[src]pub fn max() -> LogLevel
[src]
Returns the most verbose logging level.
pub fn to_log_level_filter(self) -> LogLevelFilter
[src]
Converts the LogLevel
to the equivalent LogLevelFilter
.
Trait Implementations
impl PartialEq<LogLevel> for LogLevelFilter
[src]
impl PartialEq<LogLevel> for LogLevelFilter
[src]impl PartialEq<LogLevelFilter> for LogLevel
[src]
impl PartialEq<LogLevelFilter> for LogLevel
[src]impl PartialOrd<LogLevel> for LogLevel
[src]
impl PartialOrd<LogLevel> for LogLevel
[src]impl PartialOrd<LogLevel> for LogLevelFilter
[src]
impl PartialOrd<LogLevel> for LogLevelFilter
[src]impl PartialOrd<LogLevelFilter> for LogLevel
[src]
impl PartialOrd<LogLevelFilter> for LogLevel
[src]fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for LogLevel
[src]
impl StructuralEq for LogLevel
[src]Auto Trait Implementations
impl RefUnwindSafe for LogLevel
impl RefUnwindSafe for LogLevel
impl UnwindSafe for LogLevel
impl UnwindSafe for LogLevel