mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 06:48:47 +00:00
changes log format to be more readable (#463)
This commit is contained in:
parent
a6bf39fad5
commit
3e30815fb4
@ -9,7 +9,7 @@ import (
|
|||||||
var Log = logging.MustGetLogger("mizu")
|
var Log = logging.MustGetLogger("mizu")
|
||||||
|
|
||||||
var format = logging.MustStringFormatter(
|
var format = logging.MustStringFormatter(
|
||||||
`%{time} %{level:.5s} ▶ %{pid} %{shortfile} %{shortfunc} ▶ %{message}`,
|
`%{time} %{level:.5s} ▶ %{message} ▶ %{pid} %{shortfile} %{shortfunc}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
func InitLogger(logPath string) {
|
func InitLogger(logPath string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user