Skip to content

Commit 90f37c7

Browse files
Roland Peelenrolandpeelen
Roland Peelen
authored andcommitted
🔊 - Move logging to env_logger
This adds the ability to use log levels for CI. Running `RUST_LOG=warn rewatch build` will only use `warn` and up. See the [env_logger](https://docs.rs/env_logger/latest/env_logger/) crate for more info.
1 parent 89a36b0 commit 90f37c7

21 files changed

+405
-256
lines changed

Cargo.lock

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ serde_json = { version = "1.0.93" }
1111
ahash = "0.8.3"
1212
convert_case = "0.6.0"
1313
rayon = "1.6.1"
14-
log = { version = "0.4.17", features = [
15-
"max_level_debug",
16-
"release_max_level_warn",
17-
] }
14+
log = { version = "0.4.17" }
1815
env_logger = "0.10.0"
1916
indicatif = "0.17.3"
2017
console = "0.15.5"
@@ -26,6 +23,7 @@ futures-timer = "3.0.2"
2623
clap = { version = "4.3.17", features = ["derive"] }
2724
sysinfo = "0.29.10"
2825
ctrlc = "3.4.4"
26+
clap-verbosity-flag = "2.2.2"
2927

3028

3129
[profile.release]

0 commit comments

Comments
 (0)