[][src]Module log4rs::config

All things pertaining to log4rs config. See the docs root for examples.

Re-exports

pub use runtime::Appender;
pub use runtime::Config;
pub use runtime::Logger;
pub use runtime::Root;

Modules

runtime

log4rs configuration

Structs

Deserializers

A container of Deserializers.

RawConfig

A raw deserializable log4rs configuration.

Enums

FormatError

The various types of formatting errors that can be generated.

InitError

Errors found when initializing.

Traits

Deserializable

A trait implemented by traits which are deserializable.

Deserialize

A trait for objects that can deserialize log4rs components out of a config.

Functions

init_config

Initializes the global logger as a log4rs logger with the provided config.

init_config_with_err_handler

Initializes the global logger as a log4rs logger with the provided config and error handler.

init_file

Initializes the global logger as a log4rs logger configured via a file.

init_raw_config

Initializes the global logger as a log4rs logger using the provided raw config.

load_config_file

Loads a log4rs logger configuration from a file.