Struct slog::MapError [] [src]

pub struct MapError<D: Drain, E> { /* fields omitted */ }

Drain mapping error returned by another Drain

See DrainExt::map_err for convenience function.

Methods

impl<D: Drain, E> MapError<D, E>
[src]

Create Filter wrapping given drain

Trait Implementations

impl<D: Drain, E> Drain for MapError<D, E>
[src]

Type of potential errors returned during logging

Log one logging record Read more