#[repr(C)]pub enum TraceLogLevel {
All = 0,
Trace = 1,
Debug = 2,
Info = 3,
Warning = 4,
Error = 5,
Fatal = 6,
None = 7,
}
Expand description
Trace log level
Variants§
All = 0
Display all logs
Trace = 1
Trace logging, intended for internal use only
Debug = 2
Debug logging, used for internal debugging, it should be disabled on release builds
Info = 3
Info logging, used for program execution info
Warning = 4
Warning logging, used on recoverable failures
Error = 5
Error logging, used on unrecoverable failures
Fatal = 6
Fatal logging, used to abort program: exit(EXIT_FAILURE)
None = 7
Disable logging
Trait Implementations§
Source§impl Clone for TraceLogLevel
impl Clone for TraceLogLevel
Source§fn clone(&self) -> TraceLogLevel
fn clone(&self) -> TraceLogLevel
Returns a copy 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 TraceLogLevel
impl Debug for TraceLogLevel
Source§impl Hash for TraceLogLevel
impl Hash for TraceLogLevel
Source§impl PartialEq for TraceLogLevel
impl PartialEq for TraceLogLevel
impl Copy for TraceLogLevel
impl Eq for TraceLogLevel
impl StructuralPartialEq for TraceLogLevel
Auto Trait Implementations§
impl Freeze for TraceLogLevel
impl RefUnwindSafe for TraceLogLevel
impl Send for TraceLogLevel
impl Sync for TraceLogLevel
impl Unpin for TraceLogLevel
impl UnwindSafe for TraceLogLevel
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