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]

Create IgnoreErr wrapping drain

Trait Implementations

impl<D: Drain> Drain for IgnoreErr<D>
[src]

Type of potential errors returned during logging

Log one logging record Read more