From 3772b4846d671cfff00e4e7c855fb110b9a37c40 Mon Sep 17 00:00:00 2001 From: Alexandru Macovei Date: Sat, 13 Feb 2021 15:47:07 +0200 Subject: [PATCH] refactor(log): change output colors to shades of blue for trace and debug to make them more visible (#2299) --- src/logger.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logger.rs b/src/logger.rs index 61c6ae21..da8e31b8 100644 --- a/src/logger.rs +++ b/src/logger.rs @@ -109,8 +109,8 @@ impl log::Log for StarshipLogger { eprintln!( "[{}] - ({}): {}", match record.level() { - Level::Trace => Color::Black.dimmed().paint(format!("{}", record.level())), - Level::Debug => Color::Black.paint(format!("{}", record.level())), + Level::Trace => Color::Blue.dimmed().paint(format!("{}", record.level())), + Level::Debug => Color::Cyan.paint(format!("{}", record.level())), Level::Info => Color::White.paint(format!("{}", record.level())), Level::Warn => Color::Yellow.paint(format!("{}", record.level())), Level::Error => Color::Red.paint(format!("{}", record.level())),