-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I am creating this issue to pick up this pull request: simc/logger#137
Summary
PrettyPrinter: Force the foreground color always to white for the red and pink background color.
Status
Currently, foreground color isn't set therefore, the terminal will use the default foreground color to write on the error/wtf background, whichever that it.
Discussion
As far as I am aware, both VSC and Android Studio uses a good contrast color for the foreground, which should provide a good readability when writing on the terminal default background (which we are not when printing the error message).
Therefore, forcing no foreground color can result in a worse readability, depending on the theme settings of the terminal and so on.
Please share your opinions and ideas on this topic!
My opinion
I did never experience great readability with a bright red background, yes some colors and combinations are better, but it's just not really enjoyable trying to read the error message.
I see no point in painting the error with a bright red background when everything else in the log is already screaming for attention.
I would remove the additional background color of the error as a whole and treat it the same way as the other text in the error log.