responses to code review
- field rename to be more properly generic - drop rewrite of main.main
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
|
||||
}
|
||||
f.appendKeyValue(b, "level", entry.Level.String())
|
||||
if entry.HasCaller() {
|
||||
f.appendKeyValue(b, "method", entry.Caller)
|
||||
f.appendKeyValue(b, "func", entry.Caller)
|
||||
}
|
||||
if entry.Message != "" {
|
||||
f.appendKeyValue(b, "msg", entry.Message)
|
||||
|
||||
Reference in New Issue
Block a user