fern icon indicating copy to clipboard operation
fern copied to clipboard

Recipe for colored logging

Open daboross opened this issue 6 years ago • 0 comments

It would be nice to have some examples for using fern with colored logging.

Right now this will probably be tricky, especially because there is no LogLevel->Color mapping created.

For implementing colors, ansi_term seems like a good crate to use. We could either build an example with this, or add it as an optional dependency to fern, and create helper functions.

daboross avatar Sep 04 '17 07:09 daboross