Fix numbering of levels
This commit is contained in:
parent
e709c5d91e
commit
54e95fe699
5
log.go
5
log.go
|
@ -110,8 +110,6 @@ import (
|
|||
type Level int8
|
||||
|
||||
const (
|
||||
// TraceLevel defines trace log level.
|
||||
TraceLevel Level = -1
|
||||
// DebugLevel defines debug log level.
|
||||
DebugLevel Level = iota
|
||||
// InfoLevel defines info log level.
|
||||
|
@ -128,6 +126,9 @@ const (
|
|||
NoLevel
|
||||
// Disabled disables the logger.
|
||||
Disabled
|
||||
|
||||
// TraceLevel defines trace log level.
|
||||
TraceLevel Level = -1
|
||||
)
|
||||
|
||||
func (l Level) String() string {
|
||||
|
|
Loading…
Reference in New Issue