diff --git a/cargo-flash/Cargo.toml b/cargo-flash/Cargo.toml index 6c1c68bc68..9bd82587d0 100644 --- a/cargo-flash/Cargo.toml +++ b/cargo-flash/Cargo.toml @@ -18,4 +18,5 @@ cargo-project = "0.2.2" failure = "0.1.5" colored = "1.8.0" probe-rs = { path = "../probe-rs", version = "0.2.0" } -probe-rs-targets = { path = "../probe-rs-targets", version = "0.2.0" } \ No newline at end of file +probe-rs-targets = { path = "../probe-rs-targets", version = "0.2.0" } +pretty_env_logger = "0.3.0" diff --git a/cargo-flash/src/main.rs b/cargo-flash/src/main.rs index 2e64de6953..6d5fd5ca73 100644 --- a/cargo-flash/src/main.rs +++ b/cargo-flash/src/main.rs @@ -64,6 +64,7 @@ struct Opt { } fn main() { + pretty_env_logger::init(); match main_try() { Ok(_) => (), Err(e) => {