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

pub struct LoggerBuilder { /* fields omitted */ }

A builder for Loggers.

Methods

impl LoggerBuilder[src]

pub fn appender<T>(self, appender: T) -> LoggerBuilder where
    T: Into<String>, 
[src]

Adds an appender.

pub fn appenders<I>(self, appenders: I) -> LoggerBuilder where
    I: IntoIterator,
    I::Item: Into<String>, 
[src]

Adds appenders.

pub fn additive(self, additive: bool) -> LoggerBuilder[src]

Sets the additivity of the logger.

pub fn build<T>(self, name: T, level: LevelFilter) -> Logger where
    T: Into<String>, 
[src]

Consumes the LoggerBuilder, returning the Logger.

Trait Implementations

impl Debug for LoggerBuilder[src]

Auto Trait Implementations

impl Send for LoggerBuilder

impl Sync for LoggerBuilder

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> UnsafeAny for T where
    T: Any
[src]