pub enum LogLevel {
Show 15 variants
Emergency,
Alert,
Critical,
Error,
Warning,
Notice,
Info,
DebugSystem,
DebugProgram,
DebugProcess,
DebugModule,
DebugUnit,
DebugFunction,
DebugLine,
Debug,
}
Expand description
Represents the log level for a given tracepoint
Variants§
Emergency
Corresponds to the TRACE_EMERG
log level
Alert
Corresponds to the TRACE_ALERT
log level
Critical
Corresponds to the TRACE_CRIT
log level
Error
Corresponds to the TRACE_ERR
log level
Warning
Corresponds to the TRACE_WARNING
log level
Notice
Corresponds to the TRACE_NOTICE
log level
Info
Corresponds to the TRACE_INFO
log level
DebugSystem
Corresponds to the TRACE_DEBUG_SYSTEM
log level
DebugProgram
Corresponds to the TRACE_DEBUG_PROGRAM
log level
DebugProcess
Corresponds to the TRACE_DEBUG_PROCESS
log level
DebugModule
Corresponds to the TRACE_DEBUG_MODULE
log level
DebugUnit
Corresponds to the TRACE_DEBUG_UNIT
log level
DebugFunction
Corresponds to the TRACE_DEBUG_FUNCTION
log level
DebugLine
Corresponds to the TRACE_DEBUG_LINE
log level
Debug
Corresponds to the TRACE_DEBUG
log level
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