fix missing parameter
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
|
|||||||
timestampFormat = defaultTimestampFormat
|
timestampFormat = defaultTimestampFormat
|
||||||
}
|
}
|
||||||
if f.isColored() {
|
if f.isColored() {
|
||||||
f.printColored(b, entry, keys, nil, timestampFormat)
|
f.printColored(b, entry, keys, data, timestampFormat)
|
||||||
} else {
|
} else {
|
||||||
for _, key := range fixedKeys {
|
for _, key := range fixedKeys {
|
||||||
var value interface{}
|
var value interface{}
|
||||||
|
|||||||
Reference in New Issue
Block a user