From 766b313911467ca8409e9b5f0aee494f858695ea Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 11 Aug 2023 17:51:15 +0100 Subject: [PATCH] Adjust logger --- log/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log/log.go b/log/log.go index f385a50..f8d64fc 100644 --- a/log/log.go +++ b/log/log.go @@ -28,9 +28,9 @@ func init() { Msg, err = config.Build() // Potential source of the error if err != nil { - panic("Failed to initialize logger: " + err.Error()) + panic("Failed to initialize logger" + err.Error()) } // Log the selected log level (optional, can be helpful for debugging) - Msg.Info("Log level set to: " + logLevel.String()) + Msg.Info("", zap.String("Log level", logLevel.String())) }