diff options
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | mullvad-problem-report/Cargo.toml | 1 | ||||
| -rw-r--r-- | mullvad-problem-report/src/main.rs | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 2ce8627195..9e2b4b57af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -983,6 +983,7 @@ version = "2018.4.0" dependencies = [ "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "dirs 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "env_logger 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "mullvad-paths 0.1.0", diff --git a/mullvad-problem-report/Cargo.toml b/mullvad-problem-report/Cargo.toml index b5ad1675df..307e0c79c9 100644 --- a/mullvad-problem-report/Cargo.toml +++ b/mullvad-problem-report/Cargo.toml @@ -19,6 +19,7 @@ path = "src/main.rs" [dependencies] clap = "2.25" dirs = "1.0" +env_logger = "0.5" error-chain = "0.12" lazy_static = "1.0" regex = "1.0" diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs index 1ffa870f4e..c1920f9bff 100644 --- a/mullvad-problem-report/src/main.rs +++ b/mullvad-problem-report/src/main.rs @@ -11,6 +11,7 @@ extern crate clap; extern crate dirs; #[macro_use] extern crate error_chain; +extern crate env_logger; #[macro_use] extern crate lazy_static; extern crate regex; @@ -91,6 +92,7 @@ error_chain!{ quick_main!(run); fn run() -> Result<()> { + env_logger::init(); let app = clap::App::new("problem-report") .version(metadata::PRODUCT_VERSION) .author(crate_authors!()) |
