Merge pull request #321 from matthiasbeyer/libimagrt/fix-logger-init
Partially revert 7f1a671
This commit is contained in:
commit
a4d77bb89a
1 changed files with 4 additions and 0 deletions
|
@ -45,7 +45,11 @@ impl<'a> Runtime<'a> {
|
||||||
use configuration::error::ConfigErrorKind;
|
use configuration::error::ConfigErrorKind;
|
||||||
|
|
||||||
let matches = cli_spec.get_matches();
|
let matches = cli_spec.get_matches();
|
||||||
|
|
||||||
let is_debugging = matches.is_present("debugging");
|
let is_debugging = matches.is_present("debugging");
|
||||||
|
let is_verbose = matches.is_present("verbosity");
|
||||||
|
|
||||||
|
Runtime::init_logger(is_debugging, is_verbose);
|
||||||
|
|
||||||
let rtp : PathBuf = matches.value_of("runtimepath")
|
let rtp : PathBuf = matches.value_of("runtimepath")
|
||||||
.map(PathBuf::from)
|
.map(PathBuf::from)
|
||||||
|
|
Loading…
Reference in a new issue