Adjust logger
This commit is contained in:
parent
95a9088cc9
commit
766b313911
@ -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()))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user