mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
xtask: Change default loglevel
This commit is contained in:
parent
7c7d6558f6
commit
96aa385b55
1 changed files with 2 additions and 3 deletions
|
@ -109,9 +109,8 @@ fn main() -> anyhow::Result<()> {
|
|||
let cli = Cli::parse();
|
||||
|
||||
let env_logger_default_level = match cli.verbose {
|
||||
0 => Env::default().default_filter_or("error"),
|
||||
1 => Env::default().default_filter_or("info"),
|
||||
2 => Env::default().default_filter_or("debug"),
|
||||
0 => Env::default().default_filter_or("info"),
|
||||
1 => Env::default().default_filter_or("debug"),
|
||||
_ => Env::default().default_filter_or("trace"),
|
||||
};
|
||||
env_logger::Builder::from_env(env_logger_default_level)
|
||||
|
|
Loading…
Reference in a new issue