Trait trillium_logger::Targetable
source · pub trait Targetable: Send + Sync + 'static {
// Required method
fn write(&self, data: String);
}Expand description
A trait for log targets. Implemented for Target and for all
Fn(String) + Send + Sync + 'static.