Enum mini_functions::hash::loggers::LogLevel
source · pub enum LogLevel {
ALL,
DEBUG,
DISABLED,
ERROR,
FATAL,
INFO,
NONE,
TRACE,
VERBOSE,
WARNING,
}
Expand description
An enumeration of the different levels that a log message can have. Each variant of the enumeration represents a different level of importance.
Arguments
ALL
- The log level is set to all.DEBUG
- The log level is set to debug.DISABLED
- The log level is set to disabled.ERROR
- The log level is set to error.FATAL
- The log level is set to fatal.INFO
- The log level is set to info.NONE
- The log level is set to none.TRACE
- The log level is set to trace.VERBOSE
- The log level is set to verbose.WARNING
- The log level is set to warning.
Variants§
ALL
The log level is set to all.
DEBUG
The log level is set to debug.
DISABLED
The log level is set to disabled.
ERROR
The log level is set to error.
FATAL
The log level is set to fatal.
INFO
The log level is set to info.
NONE
The log level is set to none.
TRACE
The log level is set to trace.
VERBOSE
The log level is set to verbose.
WARNING
The log level is set to warning.
Trait Implementations§
source§impl Display for LogLevel
impl Display for LogLevel
Display trait implementation for LogLevel
.
This converts the enum to a string representation.
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 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