pub enum LogLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
Severity level for Context::log.
Mirrors the five standard levels exposed by tracing / log so runtimes
can map to whatever sink is available on the target (native tracing
subscriber, browser console.*, host-import log channel, …).
Variants§
Trace
Very fine-grained diagnostic information, typically disabled in production.
Debug
Fine-grained information useful while debugging.
Info
Informational messages that mark normal operation.
Warn
Conditions that are unexpected but do not prevent continued operation.
Error
Failures that likely require operator attention.
Trait Implementations§
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralPartialEq for LogLevel
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