daboross / fern

Simple, efficient logging for Rust
MIT License
846 stars 51 forks source link

WithFgColor doesn't match colored::Colorize's behavior #100

Open daboross opened 2 years ago

daboross commented 2 years ago

colored::Colorize will specifically not color things if NO_COLOR env variable is set, or other conditions per ShouldColorize.

We ignore this, and thus have inconsistency. As of https://github.com/daboross/fern/pull/99, we also patch a test to ignore this inconsistency.