Struct log4rs::config::LoggerBuilder
[−]
[src]
pub struct LoggerBuilder { // some fields omitted }
A builder for Logger
s.
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
.