Add a CallerPrettyfier callback to the json formatter

This commit is contained in:
David Bariod
2019-02-27 13:02:20 +01:00
parent 4f5fd631f1
commit 5e9b246bea
3 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -392,4 +392,4 @@ func (entry *Entry) Panicln(args ...interface{}) {
func (entry *Entry) sprintlnn(args ...interface{}) string {
msg := fmt.Sprintln(args...)
return msg[:len(msg)-1]
}
}