Add note about ForceColors in the README

This commit is contained in:
Justin Li
2014-03-16 17:27:31 -04:00
parent 436d68deda
commit cc1a5b95bc
+2
View File
@@ -170,6 +170,8 @@ The built-in logging formatters are:
* `logrus.TextFormatter`. Logs the event in colors if stdout is a tty, otherwise
without colors.
* *Note:* to force colored output when there is no TTY, set the `ForceColors`
field to `true`.
* `logrus.JSONFormatter`. Logs fields as JSON.
Third party logging formatters: