Struct log4rs::config::Appender [] [src]

pub struct Appender {
    // some fields omitted
}

Configuration for an appender.

Methods

impl Appender
[src]

fn builder() -> AppenderBuilder

Creates a new AppenderBuilder with the specified name and Append trait object.

fn name(&self) -> &str

Returns the name of the appender.

fn appender(&self) -> &Append

Returns the appender.

fn filters(&self) -> &[Box<Filter>]

Returns the filters attached to the appender.

Trait Implementations

impl Debug for Appender
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.