Struct slog::Discard
[−]
[src]
pub struct Discard;
Drain discarding everything
Trait Implementations
impl Drain for Discard
[src]
type Error = ()
Type of potential error returned during logging
fn log(&self, _: &Record, _: &OwnedKeyValueList) -> Result<(), ()>
Write one logging record As an optimization (avoiding allocations), loggers are responsible for providing a byte buffer, that Drain
can use for their own needs. Read more