pub enum LogLevel {
Trace,
Debug,
Info,
Success,
Warning,
Error,
Critical,
}
Expand description
Represents the severity level of a log message. Levels are ordered from least to most severe.
Variants§
Trace
The lowest level of logging, used for very detailed debugging information.
Debug
Used for debugging information that might be useful in diagnosing problems.
Info
Used for informational messages that highlight the progress of the application.
Success
Used to indicate successful operations or positive outcomes.
Warning
Used for potentially harmful situations that might still allow the application to continue running.
Error
Used for error events that might still allow the application to continue running.
Critical
Used for very severe error events that will presumably lead the application to abort.
Implementations§
Trait Implementations§
Source§impl Ord for LogLevel
impl Ord for LogLevel
Source§impl PartialOrd for LogLevel
impl PartialOrd for LogLevel
impl Copy for LogLevel
impl Eq for LogLevel
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