fix missing parameter

This commit is contained in:
Hǎi-Liàng "Hal" Wáng 2018-11-06 10:01:28 +00:00
parent 2cafb78db2
commit c7183bf629
1 changed files with 1 additions and 1 deletions

View File

@ -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{}