Skip to content

Commit c9b9c8c

Browse files
authored
Log topic name at INFO as well as DEBUG (#27)
1 parent a583bac commit c9b9c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inbound.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
5252
log.Info().
5353
Str("func", "messageCreate").
5454
Str("id", msg.Metadata.ID.String()).
55-
Msg("Published message to Redis")
55+
Msgf("Published message to %s", *inbound)
5656

5757
log.Debug().
5858
Str("func", "messageCreate").

0 commit comments

Comments
 (0)