pub enum LogLevel {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}Available on crate feature
terminal only.Expand description
Log level matching log::LevelFilter.
Variants§
Off
No logging.
Error
Errors only.
Warn
Warnings and errors.
Info
Informational messages and above.
Debug
Debug messages and above.
Trace
Trace messages and above (most verbose).
Trait Implementations§
impl Copy for LogLevel
Source§impl From<LogLevel> for LevelFilter
impl From<LogLevel> for LevelFilter
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnsafeUnpin 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