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.


impl<D: Drain> Filter<D>

Create Filter wrapping given drain

Trait Implementations

impl<D: Drain> Drain for Filter<D>

Type of potential errors returned during logging

Log one logging record Read more