pub enum Level {
Verbose,
Debug,
Info,
Warning,
Critical,
Error,
Fatal,
}Expand description
Level enum is representing the level of message & which level the logger accepts. There are 7 that are available: Verbose, Debug, Info, Warning, Critical, Error, and Fatal.
Variants§
Verbose
Debug
Info
Warning
Critical
Error
Fatal
Fatal level is used for unrecoverable errors. When logging with this level, the program will
be TERMINATED immediately after the message is logged.
Trait Implementations§
Source§impl Ord for Level
impl Ord for Level
Source§impl PartialOrd for Level
impl PartialOrd for Level
impl Copy for Level
impl Eq 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