#[repr(u8)]pub enum LogLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
Fatal = 5,
Off = 6,
}Expand description
Severity threshold and record level for OA diagnostics.
Variants§
Trace = 0
Fine-grained diagnostics; macro call sites compile out in release builds.
Debug = 1
Developer-facing state; macro call sites compile out in release builds.
Info = 2
Meaningful lifecycle or capability state.
Warn = 3
A recoverable degradation or fallback.
Error = 4
A failed action that the caller still handles explicitly.
Fatal = 5
An unrecoverable condition at the current owner; this does not terminate.
Off = 6
Disable every record.
Trait Implementations§
impl Copy for LogLevel
impl Eq for LogLevel
Source§impl Ord for LogLevel
impl Ord for LogLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LogLevel
impl PartialOrd for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
impl Forget for LogLevel
impl Freeze for LogLevel
impl Move 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