Skip to main content

CoreLogConsumer

Trait CoreLogConsumer 

Source
pub trait CoreLogConsumer:
    Send
    + Sync
    + Debug {
    // Required method
    fn on_log(&self, log: CoreLog);
}
Expand description

Consumer trait for use with push logger.

Required Methods§

Source

fn on_log(&self, log: CoreLog)

Invoked synchronously for every single log.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§