#[repr(u8)]pub enum Severity {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
Fatal = 5,
}Expand description
REP-2012 severity levels, mirroring rcutils_log_severity_t.
The integer representation is stable and part of the ABI for
nros_platform_log_write. Lower value = more verbose.
Variants§
Trace = 0
Per-instruction granularity. Off unless max-level-trace is
the active ceiling.
Debug = 1
Diagnostic information useful while developing.
Info = 2
Normal operation events worth surfacing once.
Warn = 3
Unexpected but recoverable conditions.
Error = 4
Errors the caller should surface; the system continues.
Fatal = 5
Unrecoverable — the system is about to abort.
Implementations§
Trait Implementations§
Source§impl Ord for Severity
impl Ord for Severity
Source§impl PartialOrd for Severity
impl PartialOrd for Severity
impl Copy for Severity
impl Eq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnsafeUnpin for Severity
impl UnwindSafe for Severity
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