Skip to content

Commit

Permalink
reverting logger change in favor of better filtering (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmeister authored Sep 24, 2020
1 parent a842ccc commit 3a3cf1c
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, "WARNING: Normalized odd number of arguments by adding nil")
ctx = append(ctx, nil, errorKey, "Normalized odd number of arguments by adding nil")
}

return ctx
Expand Down

0 comments on commit 3a3cf1c

Please sign in to comment.