Enum humphrey_server::server::logger::LogLevel
source · pub enum LogLevel {
Error,
Warn,
Info,
Debug,
}
Expand description
Represents a log level.
Variants§
Error
Only errors will be logged.
Warn
Errors and warnings will be logged.
Info
Errors, warnings and general information will be logged.
Debug
Everything, including debug information, will be logged.
Trait Implementations§
source§impl Ord for LogLevel
impl Ord for LogLevel
source§impl PartialEq for LogLevel
impl PartialEq for LogLevel
source§impl PartialOrd for LogLevel
impl PartialOrd 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 moresource§impl ToEventMask for LogLevel
impl ToEventMask for LogLevel
source§fn to_event_mask(&self) -> u32
fn to_event_mask(&self) -> u32
Convert to an event mask.
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