Skip to main content

LogMatcher

Trait LogMatcher 

Source
pub trait LogMatcher: Send + Sync {
    // Required method
    fn matches(&self, log: &Log) -> bool;
}
Expand description

Local log predicate.

Required Methods§

Source

fn matches(&self, log: &Log) -> bool

Return true when the log should be routed to the handler.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§