[core] Adjust logging for channel meta updates to match other events

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-05-21 13:52:40 +02:00
parent 0e7af1cfc8
commit 7accdea9d9
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -412,7 +412,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"category": *category,
}).Debug("Twitch metadata changed")
}).Info("Category updated")
go handleMessage(ircHdl.Client(), nil, eventTypeTwitchCategoryUpdate, plugins.FieldCollectionFromData(map[string]interface{}{
"channel": "#" + channel,
"category": *category,
@ -424,7 +424,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"title": *title,
}).Debug("Twitch metadata changed")
}).Info("Title updated")
go handleMessage(ircHdl.Client(), nil, eventTypeTwitchTitleUpdate, plugins.FieldCollectionFromData(map[string]interface{}{
"channel": "#" + channel,
"title": *title,
@ -436,7 +436,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o
log.WithFields(log.Fields{
"channel": channel,
"isLive": *online,
}).Debug("Twitch metadata changed")
}).Info("Live-status updated")
evt := eventTypeTwitchStreamOnline
if !*online {