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:
parent
118f18785a
commit
3772b4846d
@ -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())),
|
||||||
|
Loading…
Reference in New Issue
Block a user