pub fn matches(&self, record: &Record) -> bool {
        if !self.enabled(record.metadata()) {
            return false;
        }

        if let Some(filter) = self.filter.as_ref() {
            if !filter.is_match(&*record.args().to_string()) {
                return false;
            }
        }

        true
    }
/// Checks if this record matches the configured filter.
Checks if this record matches the configured filter.
Checks if this record matches the configured filter .
pub fn matches(&self, record: &Record) -> bool {
        if !self.enabled(record.metadata()) {
            return false;
        }
        if let Some(filter) = self.filter.as_ref() {
            if !filter.is_match(&*record.args().to_string()) {
                return false;
            }
        }
        true
    }
pub fn matches ( & self , record : & Record ) -> bool { if ! self . enabled ( record . metadata ( ) ) { return false ; } if let Some ( filter ) = self . filter . as_ref ( ) { if ! filter . is_match ( & * record . args ( ) . to_string ( ) ) { return false ; } } true }
Checks if this record matches the configured filter.
Checks if this record matches the configured filter .
&self
record
&Record
&self
record
&Record