mirror of https://github.com/sirupsen/logrus.git
fix missing parameter
This commit is contained in:
parent
2cafb78db2
commit
c7183bf629
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue