pub trait Logger:
Send
+ Sync
+ 'static {
// Required method
fn log(&self, event: &LogEvent);
}Expand description
Receives structured log events. Panics are isolated from cache results.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".