From 08982d40ed98b77b227d51d1e4fc063e8d9ebdba Mon Sep 17 00:00:00 2001 From: Richard Liu Date: Wed, 20 Jun 2018 23:33:37 -0700 Subject: [PATCH] enable terminal color --- log/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/root.go b/log/root.go index 32366a0d8..99f7f448b 100644 --- a/log/root.go +++ b/log/root.go @@ -7,7 +7,7 @@ import ( var ( root = &logger{[]interface{}{}, new(swapHandler)} // StdoutHandler handles stdout - StdoutHandler = StreamHandler(os.Stdout, LogfmtFormat()) + StdoutHandler = StreamHandler(os.Stdout, TerminalFormat(true)) // StderrHandler handles stderr StderrHandler = StreamHandler(os.Stderr, LogfmtFormat()) )