pub trait Logger: Send + Sync {
// Required method
fn write_log_entry<'life0, 'async_trait>(
&'life0 self,
msg: String,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Expand description
A trait for writing log entries.