Adjust logger

This commit is contained in:
Fred Boniface 2023-08-11 17:51:15 +01:00
parent 95a9088cc9
commit 766b313911

View File

@ -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()))
}