Struct trace4rs_config::config::Config
source · pub struct Config {
pub default: Logger,
pub appenders: HashMap<AppenderId, Appender>,
pub loggers: HashMap<Target, Logger>,
}
Expand description
The root configuration object containing everything necessary to build a
trace4rs::Handle
.
Fields§
§default: Logger
The default logger, which must be configured.
appenders: HashMap<AppenderId, Appender>
Appenders are assigned an id of your choice and configure actual log message output.
loggers: HashMap<Target, Logger>
Loggers receive events which match their target and may filter by message level.
Trait Implementations§
source§impl PartialEq<Config> for Config
impl PartialEq<Config> for Config
impl Eq for Config
impl StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more