pub trait Append: Debug + Send + Sync + 'static {
fn append(
&self,
record: &Record<'_>
) -> Result<(), Box<dyn Error + Sync + Send>>;
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.
Required methods
Processes the provided Record
.