emabee / flexi_logger

A flexible logger for rust programs that can write to stderr, stdout, and/or to log files
Apache License 2.0
307 stars 50 forks source link

Make default palette better for white background #88

Closed HEnquist closed 3 years ago

HEnquist commented 3 years ago

The default palette looks ok in terminals with the dark backgrounds that nearly everyone uses. But macOS is of course different, with a white background as default in the terminal. There is looks like this: Screen Shot 2021-09-10 at 16 19 12

I have played around a little and found that color number 27, light-ish blue, works well on both white and black. The added advantage is that it's easier to tell INFO and DEBUG apart (on dark backgrounds I mean).

emabee commented 3 years ago

Thanks for the proposal - the new version 0.19.0 already comes with the improved default palette!

HEnquist commented 3 years ago

Wow that was fast :)