Add debug output for Configuration::new()
This commit is contained in:
parent
56cd6dc4ae
commit
5f4718a2e5
1 changed files with 9 additions and 1 deletions
|
@ -40,11 +40,19 @@ impl Configuration {
|
|||
}
|
||||
}
|
||||
|
||||
let runtimepath = rtp.unwrap_or(String::from("/tmp/"));
|
||||
|
||||
debug!("Building configuration");
|
||||
debug!(" - verbose : {}", verbose);
|
||||
debug!(" - debugging : {}", debugging);
|
||||
debug!(" - store sub : {}", store_sub);
|
||||
debug!(" - runtimepath: {}", runtimepath);
|
||||
|
||||
Configuration {
|
||||
verbose: verbose,
|
||||
debugging: debugging,
|
||||
store_sub: store_sub,
|
||||
rtp: rtp.unwrap_or(String::from("/tmp/")),
|
||||
rtp: runtimepath,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue