mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 16:48:58 +00:00
fix
This commit is contained in:
@@ -401,7 +401,7 @@ fn format_with_color(w: &mut dyn std::io::Write, now: &mut DeferredNow, record:
|
||||
|
||||
write!(
|
||||
w,
|
||||
"{} {} [{}] [{}:{}] [{} {}] {}\n",
|
||||
"{} {} [{}] [{}:{}] [{}:{}] {}\n",
|
||||
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
||||
level_style.paint(level.to_string()),
|
||||
Color::Magenta.paint(record.target()),
|
||||
@@ -424,7 +424,7 @@ fn format_for_file(w: &mut dyn std::io::Write, now: &mut DeferredNow, record: &R
|
||||
|
||||
write!(
|
||||
w,
|
||||
"{} {} [{}] [{}:{}] [{} {}] {}\n",
|
||||
"{} {} [{}] [{}:{}] [{}:{}] {}\n",
|
||||
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
||||
level.to_string(),
|
||||
record.target(),
|
||||
|
||||
Reference in New Issue
Block a user