Add debug output for Configuration::new()
This commit is contained in:
parent
56cd6dc4ae
commit
5f4718a2e5
|
@ -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 {
|
Configuration {
|
||||||
verbose: verbose,
|
verbose: verbose,
|
||||||
debugging: debugging,
|
debugging: debugging,
|
||||||
store_sub: store_sub,
|
store_sub: store_sub,
|
||||||
rtp: rtp.unwrap_or(String::from("/tmp/")),
|
rtp: runtimepath,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue