mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-22 12:26:37 +00:00
@@ -419,7 +419,7 @@ fn format_with_color(w: &mut dyn std::io::Write, now: &mut DeferredNow, record:
|
|||||||
|
|
||||||
writeln!(
|
writeln!(
|
||||||
w,
|
w,
|
||||||
"{} {} [{}] [{}:{}] [{}:{}] {}",
|
"[{}] {} [{}] [{}:{}] [{}:{}] {}",
|
||||||
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
||||||
level_style.paint(level.to_string()),
|
level_style.paint(level.to_string()),
|
||||||
Color::Magenta.paint(record.target()),
|
Color::Magenta.paint(record.target()),
|
||||||
@@ -443,7 +443,7 @@ fn format_for_file(w: &mut dyn std::io::Write, now: &mut DeferredNow, record: &R
|
|||||||
|
|
||||||
writeln!(
|
writeln!(
|
||||||
w,
|
w,
|
||||||
"{} {} [{}] [{}:{}] [{}:{}] {}",
|
"[{}] {} [{}] [{}:{}] [{}:{}] {}",
|
||||||
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
now.now().format("%Y-%m-%d %H:%M:%S%.6f"),
|
||||||
level,
|
level,
|
||||||
record.target(),
|
record.target(),
|
||||||
|
|||||||
Reference in New Issue
Block a user