Struct log4rs::config::LoggerBuilder [] [src]

pub struct LoggerBuilder {
    // some fields omitted
}

A builder for Loggers.

Methods

impl LoggerBuilder
[src]

fn appender(self, appender: String) -> LoggerBuilder

Adds an appender.

fn appenders<I: IntoIterator<Item=String>>(self, appenders: I) -> LoggerBuilder

Adds appenders.

fn additive(self, additive: bool) -> LoggerBuilder

Sets the additivity of the logger.

fn build(self, name: String, level: LogLevelFilter) -> Logger

Consumes the LoggerBuilder, returning the Logger.

Trait Implementations

impl Debug for LoggerBuilder
[src]

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

Formats the value using the given formatter.