Skip to main content

LogExt

Trait LogExt 

Source
pub trait LogExt {
    // Required method
    fn log_to(self, capture: &Capture);
}
Expand description

Extension trait that routes a Log entry into a Capture handle in-place of the global engine.

Required Methods§

Source

fn log_to(self, capture: &Capture)

Push self into capture.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl LogExt for Log

Source§

fn log_to(self, capture: &Capture)

Implementors§