Skip to main content

LogHandler

Trait LogHandler 

Source
pub trait LogHandler: Send + Sync {
    // Required method
    fn handle(&self, entry: &LogEntry);
}
Expand description

Handler trait for processing log entries

Required Methods§

Source

fn handle(&self, entry: &LogEntry)

Handle a log entry

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§