You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our logger always uses colors when printing to stdout. That's not always the best option. This should be configurable. Just "how" is the question.
Via CLI --color {always|auto|never}
Via config file?
Maybe even via a global environment variable. I know that there are some general env vars that are interpreted by some commands. For example, take a look here: Support CLICOLOR and CLICOLOR_FORCE BurntSushi/termcolor#41 (just as an example of what variables exist). Maybe we want to respect a "common" one as well. Has to be researched tho.
The text was updated successfully, but these errors were encountered:
)
This also detects whether stdout/stderr is a terminal (or piped to a
file) and does not emit colors in the latter case. This is very useful
for various situations. In 'auto' mode it also respects the `NO_COLOR=1`
env var.
Fixes#604
Currently, our logger always uses colors when printing to stdout. That's not always the best option. This should be configurable. Just "how" is the question.
--color {always|auto|never}
The text was updated successfully, but these errors were encountered: