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.


impl<D: Drain> IgnoreErr<D>

Create IgnoreErr wrapping drain

Trait Implementations

impl<D: Drain> Drain for IgnoreErr<D>

Type of potential errors returned during logging

Log one logging record Read more