pub trait Append: Debug + Send + Sync + 'static {
// Required methods
fn append(&self, record: &Record<'_>) -> Result<()>;
fn flush(&self);
}
Expand description
A trait implemented by log4rs appenders.
Appenders take a log record and processes them, for example, by writing it to a file or the console.