Type Definition fern::Filter

source ·
pub type Filter = dyn Fn(&Metadata<'_>) -> bool + Send + Sync + 'static;
Expand description

A type alias for a log filter. Returning true means the record should succeed - false means it should fail.