Skip to content

Commit 931d2b6

Browse files
authored
Actually fixing log issue of adding ERROR to non-error logs (#27)
1 parent 77669c8 commit 931d2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func normalize(ctx []interface{}) []interface{} {
207207
// that things are the right length and users can fix bugs
208208
// when they see the output looks wrong
209209
if len(ctx)%2 != 0 {
210-
ctx = append(ctx, nil, "LOG15_WARN", "Normalized odd number of arguments by adding nil")
210+
ctx = append(ctx, "WARNING: Normalized odd number of arguments by adding nil")
211211
}
212212

213213
return ctx

0 commit comments

Comments
 (0)