diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-21 00:05:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-02-23 18:00:03 +0800 |
commit | b9d48b4a9300b948362787b90cf3fb7ae77636b4 (patch) | |
tree | 9ed9d16374bd6c7f2cadd0a193e16fc5bc5c9ee3 /log/format.go | |
parent | ec7f81f4bc11c6f8203ec1d3055c9a09a244ff43 (diff) | |
download | go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar.gz go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar.bz2 go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar.lz go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar.xz go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.tar.zst go-tangerine-b9d48b4a9300b948362787b90cf3fb7ae77636b4.zip |
log: add support for trace level, exit on critical
Diffstat (limited to 'log/format.go')
-rw-r--r-- | log/format.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/log/format.go b/log/format.go index 376376183..9dcfc8d13 100644 --- a/log/format.go +++ b/log/format.go @@ -58,6 +58,8 @@ func TerminalFormat() Format { color = 32 case LvlDebug: color = 36 + case LvlTrace: + color = 34 } b := &bytes.Buffer{} |