Struct slog::Discard [] [src]

pub struct Discard;

Drain discarding everything

Trait Implementations

impl Drain for Discard
[src]

Type of potential error returned during logging

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