Replace some fmt.Printf()'s that were missed

This commit is contained in:
Zorchenhimer 2019-03-30 16:18:26 -04:00
parent 5aa41cc80c
commit a0a5e4be7d
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ func (tc *twitchChannel) downloadEmotes() (*EmoteSet, error) {
b := emote.Code[i]
if b >= 'A' && b <= 'Z' {
es.Prefix = emote.Code[0 : i-1]
fmt.Printf("Found prefix for channel %q: %q (%q)\n", es.Channel, es.Prefix, emote)
common.LogDebugf("Found prefix for channel %q: %q (%q)\n", es.Channel, es.Prefix, emote)
break
}
}

View File

@ -29,7 +29,7 @@ func (s *streamStats) msgOutInc() {
}
func (s *streamStats) Print() {
fmt.Printf("Messages In: %d\n", s.messageIn)
fmt.Printf("Messages Out: %d\n", s.messageOut)
fmt.Printf("Total Time: %s\n", time.Since(s.start))
common.LogInfof("Messages In: %d\n", s.messageIn)
common.LogInfof("Messages Out: %d\n", s.messageOut)
common.LogInfof("Total Time: %s\n", time.Since(s.start))
}