Add debugging output in main.rs
This commit is contained in:
parent
1ecb13a8fe
commit
111a990b99
1 changed files with 3 additions and 1 deletions
|
@ -15,14 +15,16 @@ mod module;
|
||||||
mod storage;
|
mod storage;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let early_logger = ImagLogger::early().unwrap();
|
|
||||||
let yaml = load_yaml!("../etc/cli.yml");
|
let yaml = load_yaml!("../etc/cli.yml");
|
||||||
let app = App::from_yaml(yaml);
|
let app = App::from_yaml(yaml);
|
||||||
let mut config = CliConfig::new(app);
|
let mut config = CliConfig::new(app);
|
||||||
let configuration = Configuration::new(&config);
|
let configuration = Configuration::new(&config);
|
||||||
|
|
||||||
let logger = ImagLogger::init(&configuration, &config);
|
let logger = ImagLogger::init(&configuration, &config);
|
||||||
|
debug!("Logger created!");
|
||||||
|
|
||||||
let rt = Runtime::new(configuration, config);
|
let rt = Runtime::new(configuration, config);
|
||||||
|
debug!("Runtime created!");
|
||||||
|
|
||||||
info!("Hello, world!");
|
info!("Hello, world!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue