Shorter log prefixes
This commit is contained in:
parent
2c6be95557
commit
e7547652ae
1 changed files with 5 additions and 5 deletions
10
xlog.go
10
xlog.go
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue