Struct slog::IgnoreErr
[−]
[src]
pub struct IgnoreErr<D: Drain> { /* fields omitted */ }
Drain
ignoring errors
Logger
requires a root drain to handle all errors (Drain::Error == ()
),
IgnoreErr
will ignore all errors of the drain it wraps.
Methods
impl<D: Drain> IgnoreErr<D>
[src]
fn new(drain: D) -> Self
Create IgnoreErr
wrapping drain