Add JsonLevel log level
This commit is contained in:
parent
bdf99e0981
commit
41d80ba17b
|
@ -30,7 +30,7 @@ type message struct {
|
|||
msg string
|
||||
}
|
||||
|
||||
type LogLevel uint8
|
||||
type LogLevel uint32
|
||||
|
||||
const (
|
||||
// Standard log levels
|
||||
|
@ -40,6 +40,7 @@ const (
|
|||
InfoLevel
|
||||
DebugLevel
|
||||
DebugDetailLevel
|
||||
JsonLevel = 1000
|
||||
)
|
||||
|
||||
// A Logger prints messages prefixed by a given tag. It provides named
|
||||
|
|
Loading…
Reference in New Issue