From c7183bf62988354bac21887606dbb540dc4be8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C7=8Ei-Li=C3=A0ng=20=22Hal=22=20W=C3=A1ng?= Date: Tue, 6 Nov 2018 10:01:28 +0000 Subject: [PATCH] fix missing parameter --- text_formatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_formatter.go b/text_formatter.go index 4342d73..17f0004 100644 --- a/text_formatter.go +++ b/text_formatter.go @@ -163,7 +163,7 @@ func (f *TextFormatter) Format(entry *Entry) ([]byte, error) { timestampFormat = defaultTimestampFormat } if f.isColored() { - f.printColored(b, entry, keys, nil, timestampFormat) + f.printColored(b, entry, keys, data, timestampFormat) } else { for _, key := range fixedKeys { var value interface{}