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