From cc1a5b95bc40b10211bc9672f953df5ded75fdba Mon Sep 17 00:00:00 2001 From: Justin Li Date: Sun, 16 Mar 2014 17:27:31 -0400 Subject: [PATCH] Add note about ForceColors in the README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3443d32..93b1c49 100644 --- a/README.md +++ b/README.md @@ -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: