Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Add env logger to example
Browse files Browse the repository at this point in the history
  • Loading branch information
ranweiler committed Jan 19, 2023
1 parent 7167cb3 commit 377e069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/agent/coverage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ procfs = { version = "0.12", default-features = false, features=["flate2"] }

[dev-dependencies]
clap = { version = "4.0", features = ["derive"] }
env_logger = "0.10.0"
pretty_assertions = "1.3.0"
2 changes: 2 additions & 0 deletions src/agent/coverage/examples/coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const DEFAULT_TIMEOUT: Duration = Duration::from_secs(5);
fn main() -> Result<()> {
let args = Args::parse();

env_logger::init();

let timeout = args
.timeout
.map(Duration::from_millis)
Expand Down

0 comments on commit 377e069

Please sign in to comment.