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
Winston outputs logs with colours when format.colorize(...) is used regardless of whether the environment it is running in wants to receive ANSI escape codes in its log output or not.
NO_COLOR (see https://no-color.org/) is a well established environment variable for checking whether to colourise output.
Thanks for moving this here! Helps us with housekeeping. If you're up for opening a PR for this we'd greatly appreciate it and I'll be happy to give it a review promptly if you request my review!
Winston outputs logs with colours when
format.colorize(...)
is used regardless of whether the environment it is running in wants to receive ANSI escape codes in its log output or not.NO_COLOR
(see https://no-color.org/) is a well established environment variable for checking whether to colourise output.Moved from winstonjs/winston#2061
The text was updated successfully, but these errors were encountered: