Replace some fmt.Printf()'s that were missed
This commit is contained in:
parent
5aa41cc80c
commit
a0a5e4be7d
@ -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
|
||||
}
|
||||
}
|
||||
|
6
stats.go
6
stats.go
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user