Add JsonLevel log level

This commit is contained in:
Taylor Gerring 2015-01-21 10:18:46 -06:00
parent bdf99e0981
commit 41d80ba17b
1 changed files with 2 additions and 1 deletions

View File

@ -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