#[repr(u8)]pub enum Level {
Off,
Error,
Trace,
Debug,
}
Expand description
Log levels.
Used to control the verbosity of afire’s internal logging.
The default log level is Level::Off
.
Variants§
Off
Disables all logging.
Error
Only shows errors.
Trace
Shows Level::Error
and some helpful information during startup.
Debug
Shows Level::Error
, Level::Trace
and raw socket stuff.
You probably don’t need this, its really only intended for afire development.
Implementations§
Trait Implementations§
impl Copy for Level
Auto Trait Implementations§
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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