Struct log4rs::append::file::FileAppenderBuilder [] [src]

pub struct FileAppenderBuilder {
    // some fields omitted
}

A builder for FileAppenders.

Methods

impl FileAppenderBuilder
[src]

fn encoder(self, encoder: Box<Encode>) -> FileAppenderBuilder

Sets the output encoder for the FileAppender.

fn append(self, append: bool) -> FileAppenderBuilder

Determines if the appender will append to or truncate the output file.

Defaults to true.

fn build<P: AsRef<Path>>(self, path: P) -> Result<FileAppender>

Consumes the FileAppenderBuilder, producing a FileAppender.