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{ var levelNames = map[int]string{
FATAL: "[FAT] ", FATAL: "[F] ",
ERROR: "[ERR] ", ERROR: "[E] ",
WARNING: "[WRN] ", WARNING: "[W] ",
INFO: "[INF] ", INFO: "[I] ",
DEBUG: "[DBG] ", DEBUG: "[D] ",
} }
var logLevel = DEBUG var logLevel = DEBUG