pub enum Level {
Trace = 1,
Debug = 2,
Info = 4,
Warning = 8,
Error = 16,
Fatal = 32,
}Expand description
Denotes the level or severity of the log message.
Variants§
Trace = 1
For tracing code paths. Mean to be very verbose.
Debug = 2
For debugging and troubleshooting
Info = 4
For harmless but useful information
Warning = 8
For cosmetic/recoverable errors
Error = 16
For Major/unrecoverable errors
Fatal = 32
For Very Bad News™
Trait Implementations§
Source§impl PartialOrd for Level
impl PartialOrd for Level
impl Copy for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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