Struct log4rs::config::RootBuilder
[−]
[src]
pub struct RootBuilder { // some fields omitted }
A builder for Root
s.
Methods
impl RootBuilder
[src]
fn appender(self, appender: String) -> RootBuilder
Adds an appender.
fn appenders<I: IntoIterator<Item=String>>(self, appenders: I) -> RootBuilder
Adds appenders.
fn build(self, level: LogLevelFilter) -> Root
Consumes the RootBuilder
, returning the Root
.