Struct slog::Discard [] [src]

pub struct Discard;

Drain discarding everything

/dev/null of Drains

Trait Implementations

impl Debug for Discard
[src]

Formats the value using the given formatter.

impl Copy for Discard
[src]

impl Clone for Discard
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drain for Discard
[src]

Type returned by this drain Read more

Type of potential errors that can be returned by this Drain

Handle one logging statement (Record) Read more

Pass Drain through a closure, eg. to wrap into another Drain. Read more

Filter logging records passed to Drain Read more

Filter logging records passed to Drain (by level) Read more

Map logging errors returned by this drain Read more

Ignore results returned by this drain Read more

Make Self panic when returning any errors Read more