aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/geniza-sleep.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-10-26 00:17:01 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-10-26 00:17:01 -0700
commite8e2bb6b41e5e19f8a433dcff597369af2218a92 (patch)
treedfec4ef65234b00d7037c7bf03eb48f86d6f2962 /src/bin/geniza-sleep.rs
parent8e13fc65e944b9741e3f8e0f3d45542d8090a99c (diff)
downloadgeniza-e8e2bb6b41e5e19f8a433dcff597369af2218a92.tar.gz
geniza-e8e2bb6b41e5e19f8a433dcff597369af2218a92.zip
work in progress on network connection
Diffstat (limited to 'src/bin/geniza-sleep.rs')
-rw-r--r--src/bin/geniza-sleep.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/geniza-sleep.rs b/src/bin/geniza-sleep.rs
index f8921c7..10fc16b 100644
--- a/src/bin/geniza-sleep.rs
+++ b/src/bin/geniza-sleep.rs
@@ -3,6 +3,7 @@
extern crate error_chain;
#[macro_use]
extern crate clap;
+extern crate env_logger;
extern crate geniza;
// TODO: more careful import
@@ -11,6 +12,8 @@ use std::path::Path;
use clap::{App, SubCommand};
fn run() -> Result<()> {
+
+ env_logger::init().unwrap();
let matches = App::new("geniza-sleep")
.version(env!("CARGO_PKG_VERSION"))