mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-09 00:00:17 +03:00
fix(logging): re-enable warn and error by default
Same as it was in most previous releases. Without this, you may not see any output for certain errors. Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
This commit is contained in:
parent
09cde4869d
commit
e218119b01
@ -6,7 +6,7 @@ use owo_colors::{OwoColorize, Style};
|
|||||||
|
|
||||||
pub fn setup(verbose: u8, color: bool) {
|
pub fn setup(verbose: u8, color: bool) {
|
||||||
let level_filter = match verbose {
|
let level_filter = match verbose {
|
||||||
0 => LevelFilter::Off,
|
0 => LevelFilter::Warn,
|
||||||
1 => LevelFilter::Info,
|
1 => LevelFilter::Info,
|
||||||
2 => LevelFilter::Debug,
|
2 => LevelFilter::Debug,
|
||||||
_ => LevelFilter::Trace,
|
_ => LevelFilter::Trace,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user