Enum sozu_command_lib::logging::LogLevel
source · #[repr(usize)]pub enum LogLevel {
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5,
}
Variants§
Error = 1
The “error” level.
Designates very serious errors.
Warn = 2
The “warn” level.
Designates hazardous situations.
Info = 3
The “info” level.
Designates useful information.
Debug = 4
The “debug” level.
Designates lower priority information.
Trace = 5
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<LogLevel> for LogLevelFilter
impl PartialEq<LogLevel> for LogLevelFilter
source§impl PartialEq<LogLevelFilter> for LogLevel
impl PartialEq<LogLevelFilter> for LogLevel
source§fn eq(&self, other: &LogLevelFilter) -> bool
fn eq(&self, other: &LogLevelFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for LogLevel
impl PartialEq for LogLevel
source§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 moresource§impl PartialOrd for LogLevel
impl PartialOrd 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 moreimpl Copy for LogLevel
impl Eq for LogLevel
impl StructuralEq for LogLevel
Auto Trait Implementations§
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.