Trait logged_stream::RecordFilter
source · pub trait RecordFilter: Send + 'static {
// Required method
fn check(&self, record: &Record) -> bool;
}Expand description
This trait allows to filter log records (Record) using check method which returns bool value.
It should be implemented for structures which are going to be used as filtering part inside LoggedStream.