It seems termcolor is slightly unreliable on macOS and sometimes doesn't colour the output, but I can't reliably reproduce it. It works fine on Windows and Ubuntu.
Also termcolor doesn't throw an error (at least during my tests) if it can't open stdout so I've removed the Option from TermLogger::new()
Coverage increased (+0.4%) to 65.833% when pulling 3da1c5f6b1c5269f5dd63e5168ce2d7b08ef47d4 on raybritton:migrate-to-termcolor into f847219418a88db81ee53eb09b436f6590fbf658 on Drakulix:master.
Change the dependency of
term
totermcolor
now thatterm
is no longer maintained as per https://github.com/Drakulix/simplelog.rs/issues/54.It seems
termcolor
is slightly unreliable on macOS and sometimes doesn't colour the output, but I can't reliably reproduce it. It works fine on Windows and Ubuntu.Also
termcolor
doesn't throw an error (at least during my tests) if it can't open stdout so I've removed theOption
fromTermLogger::new()
Fixes #54