pub enum LogLevel {
Error,
Warn,
Info,
Debug,
Trace,
}Expand description
日志级别枚举。
该枚举定义了不同的日志级别,用于控制日志的输出。
§变体
Error: 错误级别日志,用于记录错误信息。Warn: 警告级别日志,用于记录警告信息。Info: 信息级别日志,用于记录一般信息。Debug: 调试级别日志,用于记录调试信息。Trace: 跟踪级别日志,用于记录详细的跟踪信息。
Variants§
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