pub trait LogOutput: Send + Sync { // Required methods fn write(&self, entry: &LogEntry) -> Result<()>; fn flush(&self) -> Result<()>; }
Trait for log output destinations.
Write a log entry to the output.
Flush any buffered output.