1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00

refactor(log): change output colors to shades of blue for trace and debug to make them more visible (#2299)

This commit is contained in:
Alexandru Macovei 2021-02-13 15:47:07 +02:00 committed by GitHub
parent 118f18785a
commit 3772b4846d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,8 +109,8 @@ impl log::Log for StarshipLogger {
eprintln!( eprintln!(
"[{}] - ({}): {}", "[{}] - ({}): {}",
match record.level() { match record.level() {
Level::Trace => Color::Black.dimmed().paint(format!("{}", record.level())), Level::Trace => Color::Blue.dimmed().paint(format!("{}", record.level())),
Level::Debug => Color::Black.paint(format!("{}", record.level())), Level::Debug => Color::Cyan.paint(format!("{}", record.level())),
Level::Info => Color::White.paint(format!("{}", record.level())), Level::Info => Color::White.paint(format!("{}", record.level())),
Level::Warn => Color::Yellow.paint(format!("{}", record.level())), Level::Warn => Color::Yellow.paint(format!("{}", record.level())),
Level::Error => Color::Red.paint(format!("{}", record.level())), Level::Error => Color::Red.paint(format!("{}", record.level())),