#[repr(C)]pub enum LogEventLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
}Expand description
Log level for filtering log events.
Variants§
Trace = 0
The “trace” level.
Designates very low priority, often extremely verbose, information.
Debug = 1
The “debug” level.
Designates lower priority information.
Info = 2
The “info” level.
Designates useful information.
Warn = 3
The “warn” level.
Designates hazardous situations.
Error = 4
The “error” level.
Designates very serious errors.
Trait Implementations§
Source§impl Clone for LogEventLevel
impl Clone for LogEventLevel
Source§fn clone(&self) -> LogEventLevel
fn clone(&self) -> LogEventLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogEventLevel
impl Debug for LogEventLevel
Source§impl From<LogEventLevel> for LevelFilter
impl From<LogEventLevel> for LevelFilter
Source§fn from(level: LogEventLevel) -> Self
fn from(level: LogEventLevel) -> Self
Converts to this type from the input type.
Source§impl Ord for LogEventLevel
impl Ord for LogEventLevel
Source§fn cmp(&self, other: &LogEventLevel) -> Ordering
fn cmp(&self, other: &LogEventLevel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for LogEventLevel
impl PartialEq for LogEventLevel
Source§impl PartialOrd for LogEventLevel
impl PartialOrd for LogEventLevel
impl Copy for LogEventLevel
impl Eq for LogEventLevel
impl StructuralPartialEq for LogEventLevel
Auto Trait Implementations§
impl Freeze for LogEventLevel
impl RefUnwindSafe for LogEventLevel
impl Send for LogEventLevel
impl Sync for LogEventLevel
impl Unpin for LogEventLevel
impl UnwindSafe for LogEventLevel
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