mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
fix(logger): log to stderr
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
This commit is contained in:
parent
f72ded6a4f
commit
41df701a08
@ -16,7 +16,7 @@ impl log::Log for SimpleLogger {
|
|||||||
Level::Debug => "DEBUG".bright_blue(),
|
Level::Debug => "DEBUG".bright_blue(),
|
||||||
Level::Trace => "TRACE".into(),
|
Level::Trace => "TRACE".into(),
|
||||||
};
|
};
|
||||||
println!(
|
eprintln!(
|
||||||
"{} - {}: {}",
|
"{} - {}: {}",
|
||||||
debug_prefix,
|
debug_prefix,
|
||||||
record.module_path().unwrap_or_default().bright_black(),
|
record.module_path().unwrap_or_default().bright_black(),
|
||||||
|
Loading…
Reference in New Issue
Block a user