improved logging format
This commit is contained in:
parent
6ea4f0598c
commit
a1a77a9b75
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import (
|
||||||
var Log = logging.MustGetLogger("vikunja")
|
var Log = logging.MustGetLogger("vikunja")
|
||||||
|
|
||||||
var format = logging.MustStringFormatter(
|
var format = logging.MustStringFormatter(
|
||||||
`%{color}%{time:15:04:05.000} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}`,
|
`%{color}%{time:2006-01-02 15:04:05.000} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitLogger initializes the global log handler
|
// InitLogger initializes the global log handler
|
||||||
|
|
Loading…
Reference in a new issue