pub enum Level {
Trace,
Debug,
Info,
Warning,
Error,
}
Expand description
The severity of a log message
Variants§
Trace
The lowest severity, usually used for very low-level debugging information
Debug
Above Trace but below Info in severity, usually used for debugging information only relevant while tracking down an issue
Info
Above Debug but below Warning in severity, usually used for information that may be helpful in identifying important events that are happening
Warning
Above Info but below Error in severity, usually used for information that generally indicates something might be wrong, but the process is going to continue on
Error
The highest severity level, usually reserved for situations that should almost always be looked at
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Level
impl<'de> Deserialize<'de> for Level
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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