#[repr(C)]pub enum LogLevel {
LOG_LEVEL_SILENT = 0,
LOG_LEVEL_FATAL = 1,
LOG_LEVEL_ERROR = 2,
LOG_LEVEL_WARNING = 3,
LOG_LEVEL_INFO = 4,
LOG_LEVEL_DEBUG = 5,
LOG_LEVEL_VERBOSE = 6,
ENUM_LOG_LEVEL_FORCE_INT = 2_147_483_647,
}
Expand description
Supported logging levels and their semantic
Variants§
LOG_LEVEL_SILENT = 0
for using in setLogVevel() call
LOG_LEVEL_FATAL = 1
Fatal (critical) error (unrecoverable internal error)
LOG_LEVEL_ERROR = 2
Error message
LOG_LEVEL_WARNING = 3
Warning message
LOG_LEVEL_INFO = 4
Info message
LOG_LEVEL_DEBUG = 5
Debug message. Disabled in the “Release” build.
LOG_LEVEL_VERBOSE = 6
Verbose (trace) messages. Requires verbosity level. Disabled in the “Release” build.
ENUM_LOG_LEVEL_FORCE_INT = 2_147_483_647
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 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