[][src]Struct log4rs::config::RootBuilder

pub struct RootBuilder { /* fields omitted */ }

A builder for Roots.

Methods

impl RootBuilder[src]

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

Adds an appender.

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

Adds appenders.

pub fn build(self, level: LevelFilter) -> Root[src]

Consumes the RootBuilder, returning the Root.

Trait Implementations

impl Debug for RootBuilder[src]

Auto Trait Implementations

impl Send for RootBuilder

impl Sync for RootBuilder

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]