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