feat: move to slog for logging

This commit is contained in:
kolaente
2025-07-19 16:21:35 +02:00
parent 36df5d8c41
commit ca83ad1f98
33 changed files with 490 additions and 264 deletions

View File

@@ -51,7 +51,7 @@ func (m *messageHandleFailedError) Error() string {
// InitEvents sets up everything needed to work with events
func InitEvents() (err error) {
logger := log.NewWatermillLogger(config.LogEnabled.GetBool(), config.LogEvents.GetString(), config.LogEventsLevel.GetString())
logger := log.NewWatermillLogger(config.LogEnabled.GetBool(), config.LogEvents.GetString(), config.LogEventsLevel.GetString(), config.LogFormat.GetString())
router, err := message.NewRouter(
message.RouterConfig{},