Shorter log prefixes
This commit is contained in:
parent
2c6be95557
commit
e7547652ae
10
xlog.go
10
xlog.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue