pub enum LogLevel {
Verbose,
Debug,
Default,
ErrorsOnly,
}
Expand description
Verbose
-> Logs all messages, regardless of LogType
.
Debug
-> Logs messages marked as LogType::Error
, LogType::Warning
and
LogType::Debug
.
Default
-> Logs messages marked as LogType::Error
and LogType::Warning
.
ErrorsOnly
-> Only logs messages marked as LogType::Error
.
Variants§
Trait Implementations§
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
impl Freeze for LogLevel
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