Shorter log prefixes

This commit is contained in:
Andreas Neue 2016-03-12 14:35:43 +01:00
parent 2c6be95557
commit e7547652ae
1 changed files with 5 additions and 5 deletions

10
xlog.go
View File

@ -18,11 +18,11 @@ const (
)
var levelNames = map[int]string{
FATAL: "[FAT] ",
ERROR: "[ERR] ",
WARNING: "[WRN] ",
INFO: "[INF] ",
DEBUG: "[DBG] ",
FATAL: "[F] ",
ERROR: "[E] ",
WARNING: "[W] ",
INFO: "[I] ",
DEBUG: "[D] ",
}
var logLevel = DEBUG