[][src]Trait sloggers::Config

pub trait Config {
    type Builder: Build;
    fn try_to_builder(&self) -> Result<Self::Builder>;

    fn build_logger(&self) -> Result<Logger> { ... }
}

Configuration of a logger builder.

Associated Types

type Builder: Build

Logger builder.

Loading content...

Required methods

fn try_to_builder(&self) -> Result<Self::Builder>

Makes a logger builder associated with this configuration.

Loading content...

Provided methods

fn build_logger(&self) -> Result<Logger>

Builds a logger with this configuration.

Loading content...

Implementors

Loading content...