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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)