Merge pull request #209 from pdf/print_struct_keys

Print struct keys for struct log fields
This commit is contained in:
Simon Eskildsen 2015-07-07 05:30:21 -04:00
commit e815b55144
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func (f *TextFormatter) printColored(b *bytes.Buffer, entry *Entry, keys []strin
}
for _, k := range keys {
v := entry.Data[k]
fmt.Fprintf(b, " \x1b[%dm%s\x1b[0m=%v", levelColor, k, v)
fmt.Fprintf(b, " \x1b[%dm%s\x1b[0m=%+v", levelColor, k, v)
}
}