Add JsonLevel log level

This commit is contained in:
Taylor Gerring 2015-01-21 10:18:46 -06:00
parent bdf99e0981
commit 41d80ba17b

View File

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