pub trait LogBackend: Send + Sync + Debug { // Required methods fn name(&self) -> &str; fn write(&self, records: &[Record]) -> Result<()>; // Provided method fn flush(&self) -> Result<()> { ... } }