pub trait LogFilter: Send + Sync { // Required method fn accepts(&self, event: &LogEvent) -> bool; }
Filters events before they are written to one registered sink.
Returns whether the sink should receive the event.