From 538de915555541859190892f1a1be5bbd8d24cda Mon Sep 17 00:00:00 2001 From: Marvin Preuss Date: Fri, 13 Aug 2021 14:43:29 +0200 Subject: [PATCH] beautiful logging in console --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 42fdfe5..7405691 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ import ( func main() { sselog.Log = sselog.NewSSELog() - log.Logger = zerolog.New(io.MultiWriter(os.Stderr, sselog.Log)).With().Caller().Logger() + log.Logger = zerolog.New(io.MultiWriter(zerolog.ConsoleWriter{Out: os.Stderr}, sselog.Log)).With().Caller().Logger() cmd.Execute() }