pub enum Level {
Debug,
Info,
Warn,
Error,
}Expand description
A tagging system that (1) indicates how users should interpret the log message and (2) presents a linear scale for filtering output.
Variants§
Debug
Useful for debugging, not output by default
Info
Spam, depending on the beholder
Warn
Unexpected but non-disruptive issues, may or may not indicate a real issue
Error
Issues that may lead to undesired termination of a process, but not the entire program
Implementations§
Trait Implementations§
Auto Trait Implementations§
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