pub trait Filter: Debug + Send + Sync + 'static {
    fn filter(&self, record: &Record<'_>) -> Response;
}
Expand description

The trait implemented by log4rs filters.

Filters are associated with appenders and limit the log events that will be sent to that appender.

Required methods

Filters a log event.

Implementors