Enum rust_utils::logging::LogLevel
source · [−]pub enum LogLevel {
Info,
Debug(bool),
Warn,
Error,
Fatal,
}
Expand description
Severity level for a log entry
Variants
Info
Possibly useful information
Debug(bool)
Debug information, can optionally be hidden
Warn
This might cause trouble
Error
Oops…
Indicates an error has occurred
Fatal
The Application has panicked
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more