diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-22 00:18:46 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-22 00:18:46 +0800 |
commit | 41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d (patch) | |
tree | f251dd6e0c3c25dbc057a55048a6527846e9c389 /logger | |
parent | bdf99e098126880c10dc2ef68623c47ec6f04537 (diff) | |
download | go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar.gz go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar.bz2 go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar.lz go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar.xz go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.tar.zst go-tangerine-41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d.zip |
Add JsonLevel log level
Diffstat (limited to 'logger')
-rw-r--r-- | logger/loggers.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logger/loggers.go b/logger/loggers.go index de9dfc095..497060fdb 100644 --- a/logger/loggers.go +++ b/logger/loggers.go @@ -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 |