Enum session_log::Level
source · pub enum Level {
Debug,
Verbose,
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: Debug, Verbose, Info, Warning, Critical, Error, and Fatal.
Variants§
Debug
Debug level is used for debugging purposes. When built with release mode, this level will not
be either written to a file or printed to the console even if the logger accepts this level.
Verbose
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)