Crate slog_config [] [src]

slog-config allows logging configuration based on text description in TOML format, typically loaded from file.

The resulting configuration is returned as a slog-rs Drain.

Modules

config

Configuration serialization format datastructeres

Structs

FileDrainFactory

Drain factory creating drains logging to a file

TermDrainFactory

Drain factory creating drains logging to the terminal

Traits

DrainFactory

Drain type handler

Functions

all_factories

List of all DrainFactory-ies currently implemented by slog-config

from_config

Produce a Drain described by the the given config_str

from_config_with

Produce a Drain in the given io

Type Definitions

Drain

Type of Drain returned by this library