pub enum LogLevel {
Off,
Error,
Warn,
Info,
Verbose,
Debug,
}
Expand description
Set the log level based on desired verbosity.
Variants§
Off
No logs will be generated.
Error
Log errors only.
Warn
Log errors and warnings
Info
Log errors, warnings, and general information
Verbose
Log verbose messages, errors, warnings, and general information
Debug
Log everything
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