pub enum LogLevel {
Error,
Warn,
Info,
Debug,
Trace,
}Expand description
Log importance level
Variants§
Error
Error, something went seriously wrong
Warn
Warning, something went wrong but was recovered
Info
Information, information to users
Debug
Debug, information to developers
Trace
Trace, low priority & potentially very verbose information for developers
Trait Implementations§
source§impl Ord for LogLevel
impl Ord for LogLevel
source§impl PartialEq<LogLevel> for LogLevel
impl PartialEq<LogLevel> for LogLevel
source§impl PartialOrd<LogLevel> for LogLevel
impl PartialOrd<LogLevel> for LogLevel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for LogLevel
impl Eq for LogLevel
impl StructuralEq for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
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