🐛 fix(config): improve config logging format
- use pretty format for config logging to enhance readability
This commit is contained in:
committed by
Jeremiah Russell
parent
c3d2f818b8
commit
05b4a968f7
@@ -299,7 +299,7 @@ impl ClientConfig {
|
|||||||
let root = configs.get_string("config_root")?;
|
let root = configs.get_string("config_root")?;
|
||||||
let config_root = ConfigRoot::parse(&root);
|
let config_root = ConfigRoot::parse(&root);
|
||||||
|
|
||||||
log::info!("Configs are: {configs:?}");
|
log::info!("Configs are: {configs:#?}");
|
||||||
|
|
||||||
let secret = if let Ok(client_id) = configs.get_string("client_id")
|
let secret = if let Ok(client_id) = configs.get_string("client_id")
|
||||||
&& let Ok(client_secret) = configs.get_string("client_secret")
|
&& let Ok(client_secret) = configs.get_string("client_secret")
|
||||||
|
|||||||
Reference in New Issue
Block a user