pub struct NopLogger;Expand description
No-op logger used when no logger is set.
All operations are no-ops. enabled() returns false for all levels,
causing the logging macros to skip message formatting entirely.
This is the default logger if set_logger() is never called.
Trait Implementations§
impl Copy for NopLogger
Auto Trait Implementations§
impl Freeze for NopLogger
impl RefUnwindSafe for NopLogger
impl Send for NopLogger
impl Sync for NopLogger
impl Unpin for NopLogger
impl UnsafeUnpin for NopLogger
impl UnwindSafe for NopLogger
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