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.

Flushes all in-flight records.

Trait Implementations

Returns a name for objects implementing the trait suitable for display in error messages. Read more

Implementors