pub(crate) trait Logger {
// Required method
fn get_logger() -> Box<dyn Fn(&Self) + Send>;
}
Expand description
Implemented by event types. Used to get a closure that logs the event.
Required Methods§
sourcefn get_logger() -> Box<dyn Fn(&Self) + Send>
fn get_logger() -> Box<dyn Fn(&Self) + Send>
Returns a pointer to the default logging handler for a given event type.
Object Safety§
This trait is not object safe.