[][src]Struct log4rs::config::Config

pub struct Config { /* fields omitted */ }

A log4rs configuration.

Methods

impl Config[src]

pub fn builder() -> ConfigBuilder[src]

Creates a new ConfigBuilder.

pub fn appenders(&self) -> &[Appender][src]

Returns the Appenders associated with the Config.

pub fn root(&self) -> &Root[src]

Returns the Root associated with the Config.

pub fn loggers(&self) -> &[Logger][src]

Returns the Loggers associated with the Config.

Trait Implementations

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

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]