log: add support for trace level, exit on critical

This commit is contained in:
Péter Szilágyi
2017-02-20 18:05:15 +02:00
parent ec7f81f4bc
commit b9d48b4a93
5 changed files with 23 additions and 0 deletions

View File

@ -58,6 +58,8 @@ func TerminalFormat() Format {
color = 32
case LvlDebug:
color = 36
case LvlTrace:
color = 34
}
b := &bytes.Buffer{}