Skip to content

Commit 5cbd959

Browse files
committed
Start levels at 0
1 parent df03e14 commit 5cbd959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎levels.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Level int
1414

1515
// Log levels.
1616
const (
17-
InvalidLevel Level = iota - 1
17+
InvalidLevel Level = iota
1818
DebugLevel
1919
InfoLevel
2020
WarnLevel

0 commit comments

Comments
 (0)