use super::TracingConfig;
#[derive(
Clone,
Debug,
Default,
Eq,
Hash,
Ord,
PartialEq,
PartialOrd,
serde::Deserialize,
serde::Serialize,
)]
#[serde(default)]
pub struct ServicesConfig {
pub tracing: TracingConfig,
}
impl ServicesConfig {
pub fn new() -> Self {
Self {
tracing: TracingConfig::new(crate::config::LogLevel::Info),
}
}
getter! {
tracing: TracingConfig
}
setwith! {
tracing: TracingConfig
}
}