aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-18 05:15:34 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-18 05:15:34 -0400
commite5ccbac220b1f14e3cede1b55bad92a4f537c8c9 (patch)
treeebb9f7f4ba097008cebddf059fd6b1c637b58ad9
parent3765d4f2edc5933f61fd46ab130e366774556cf5 (diff)
downloadrbw-e5ccbac220b1f14e3cede1b55bad92a4f537c8c9.tar.gz
rbw-e5ccbac220b1f14e3cede1b55bad92a4f537c8c9.zip
enable env_logger in the main app
-rw-r--r--src/bin/rbw/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/rbw/main.rs b/src/bin/rbw/main.rs
index 45f1985..5bd6032 100644
--- a/src/bin/rbw/main.rs
+++ b/src/bin/rbw/main.rs
@@ -5,6 +5,11 @@ mod commands;
mod sock;
fn main() {
+ env_logger::from_env(
+ env_logger::Env::default().default_filter_or("info"),
+ )
+ .init();
+
let matches = clap::App::new("rbw")
.about("unofficial bitwarden cli")
.author(clap::crate_authors!())