Struct slog::Filter [] [src]

pub struct Filter<D: Drain> { /* fields omitted */ }

Drain filtering records

Wraps another Drain and passes Records to it, only if they satisfy a given condition.

Methods

impl<D: Drain> Filter<D>
[src]

Create Filter wrapping given drain

Trait Implementations

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

Type of potential errors returned during logging

Log one logging record Read more