pub enum LogLevel {
Silent,
Panic,
Fatal,
Error,
Warning,
Info,
Verbose,
Debug,
Trace,
}Expand description
Stderr log level.
Note that if stderr is connected to the same terminal on which we’re rendering, any kind of logging will disrupt the output.
Variants§
Silent
Default. print nothing once fullscreen service begins.
Panic
Print diagnostics immediately related to crashing.
Fatal
We’re hanging around, but we’ve had a horrible fault.
Error
We can’t keep doin’ this, but we can do other things.
Warning
You probably don’t want what’s happening to happen.
Info
“Standard information”.
Verbose
“Detailed information”.
Debug
This is honestly a bit much.
Trace
There’s probably a better way to do what you want.
Trait Implementations§
Source§impl From<LogLevel> for NcLogLevel
impl From<LogLevel> for NcLogLevel
Source§fn from(ll: LogLevel) -> NcLogLevel
fn from(ll: LogLevel) -> NcLogLevel
Converts to this type from the input type.
Source§impl From<LogLevel> for NcLogLevel_i32
impl From<LogLevel> for NcLogLevel_i32
Source§fn from(pi: LogLevel) -> NcLogLevel_i32
fn from(pi: LogLevel) -> NcLogLevel_i32
Converts to this type from the input type.
Source§impl From<NcLogLevel> for LogLevel
impl From<NcLogLevel> for LogLevel
Source§fn from(nc: NcLogLevel) -> LogLevel
fn from(nc: NcLogLevel) -> LogLevel
Converts to this type from the input type.
Source§impl From<i32> for LogLevel
impl From<i32> for LogLevel
Source§fn from(nci: NcLogLevel_i32) -> LogLevel
fn from(nci: NcLogLevel_i32) -> LogLevel
Converts to this type from the input type.
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