Replace some fmt.Printf()'s that were missed
This commit is contained in:
parent
6b48322626
commit
b3b63b999d
|
@ -47,7 +47,7 @@ func (tc *twitchChannel) downloadEmotes() (*EmoteSet, error) {
|
||||||
b := emote.Code[i]
|
b := emote.Code[i]
|
||||||
if b >= 'A' && b <= 'Z' {
|
if b >= 'A' && b <= 'Z' {
|
||||||
es.Prefix = emote.Code[0 : i-1]
|
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
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
6
stats.go
6
stats.go
|
@ -29,7 +29,7 @@ func (s *streamStats) msgOutInc() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *streamStats) Print() {
|
func (s *streamStats) Print() {
|
||||||
fmt.Printf("Messages In: %d\n", s.messageIn)
|
common.LogInfof("Messages In: %d\n", s.messageIn)
|
||||||
fmt.Printf("Messages Out: %d\n", s.messageOut)
|
common.LogInfof("Messages Out: %d\n", s.messageOut)
|
||||||
fmt.Printf("Total Time: %s\n", time.Since(s.start))
|
common.LogInfof("Total Time: %s\n", time.Since(s.start))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue