Skip to content

Commit

Permalink
Write log to stdout so it can be piped to a file easily and it's sepa…
Browse files Browse the repository at this point in the history
…rated from the progress bar
  • Loading branch information
wykurz committed Sep 23, 2023
1 parent c4f7d6c commit 9ae9885
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ where
{
if !quiet {
env_logger::Builder::new()
.target(env_logger::Target::Stdout)
.filter_level(match verbose {
0 => log::LevelFilter::Error,
1 => log::LevelFilter::Info,
Expand Down

0 comments on commit 9ae9885

Please sign in to comment.