pub enum LogLevel {
None = 0,
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5,
}
Expand description
Represents desired logging verbosity level
Variants§
None = 0
Error = 1
Report only errors to stderr
and normal program output to stdin
(if it is not directed to a file). Corresponds to zero verbosity
flags.
Warn = 2
Report warning messages and errors, plus standard program output.
Corresponds to a single -v
verbosity flag.
Info = 3
Report genetic information messages, warnings and errors.
Corresponds to a double -vv
verbosity flag.
Debug = 4
Report debugging information and all non-trace messages, including
general information, warnings and errors.
Corresponds to triple -vvv
verbosity flag.
Trace = 5
Print all possible messages including tracing information.
Corresponds to quadruple -vvvv
verbosity flag.
Implementations§
Trait Implementations§
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralPartialEq 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<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> 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.