pzzld_server/config/kinds/
services.rs1use super::TracingConfig;
6
7#[derive(
8 Clone,
9 Debug,
10 Default,
11 Eq,
12 Hash,
13 Ord,
14 PartialEq,
15 PartialOrd,
16 serde::Deserialize,
17 serde::Serialize,
18)]
19#[serde(default)]
20pub struct ServicesConfig {
21 pub tracing: TracingConfig,
22}
23
24impl ServicesConfig {
25 pub fn new() -> Self {
26 Self {
27 tracing: TracingConfig::new(crate::config::LogLevel::Info),
28 }
29 }
30
31 getter! {
32 tracing: TracingConfig
33 }
34
35 setwith! {
36 tracing: TracingConfig
37 }
38}