pub struct NopLogger;Expand description
Logger implementation that discards every event. Used by default.
Trait Implementations§
impl Copy for NopLogger
Source§impl Logger for NopLogger
impl Logger for NopLogger
Source§fn debug(&self, _msg: &str, _fields: &[(&str, &dyn Display)])
fn debug(&self, _msg: &str, _fields: &[(&str, &dyn Display)])
Debug-level event with optional structured fields.
Source§fn info(&self, _msg: &str, _fields: &[(&str, &dyn Display)])
fn info(&self, _msg: &str, _fields: &[(&str, &dyn Display)])
Info-level event with optional structured fields.
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