apimock_config/config/log_config.rs
1use serde::Deserialize;
2
3pub mod verbose_config;
4
5use verbose_config::VerboseConfig;
6
7/// log
8#[derive(Clone, Default, Deserialize)]
9pub struct LogConfig {
10 pub verbose: VerboseConfig,
11}
12
13impl std::fmt::Display for LogConfig {
14 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
15 let _ = write!(f, "{}", self.verbose);
16 Ok(())
17 }
18}