pub trait Filter: Send + Sync { // Required method fn do_log(&self, record: &Record<'_>) -> bool; }
log filter
if return true=do_log/false=not_log