Make UnnamedLoggerConfig fields public
Having internal fields be public makes struct construction possible
outside of the file in which the struct is defined.
@@ -46,9 +46,9 @@ pub struct LoggerConfig {
#[derive(Deserialize, Clone, Debug)]
pub struct UnnamedLoggerConfig {
- appenders: Vec<String>,
+ pub appenders: Vec<String>,
#[serde(alias = "filter")]
- level: Level,
+ pub level: Level,
}
#[derive(Deserialize, Clone, Debug)]
