Skip to content

Commit

Permalink
Actually fixing log issue of adding ERROR to non-error logs (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmeister committed Sep 21, 2020
1 parent 77669c8 commit 931d2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func normalize(ctx []interface{}) []interface{} {
// that things are the right length and users can fix bugs
// when they see the output looks wrong
if len(ctx)%2 != 0 {
ctx = append(ctx, nil, "LOG15_WARN", "Normalized odd number of arguments by adding nil")
ctx = append(ctx, "WARNING: Normalized odd number of arguments by adding nil")
}

return ctx
Expand Down

0 comments on commit 931d2b6

Please sign in to comment.