#[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§impl PartialOrd<LogLevel> for LogLevelFilter
impl PartialOrd<LogLevel> for LogLevelFilter
Source§impl PartialOrd<LogLevelFilter> for LogLevel
impl PartialOrd<LogLevelFilter> for LogLevel
Source§impl PartialOrd for LogLevel
impl PartialOrd for LogLevel
impl Copy for LogLevel
impl Eq for LogLevel
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.