From a0a5e4be7d66609aab4af3eb140a249f2e183a57 Mon Sep 17 00:00:00 2001 From: Zorchenhimer Date: Sat, 30 Mar 2019 16:18:26 -0400 Subject: [PATCH] Replace some fmt.Printf()'s that were missed --- emotes.go | 2 +- stats.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/emotes.go b/emotes.go index 242f8c0..a936a16 100644 --- a/emotes.go +++ b/emotes.go @@ -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 } } diff --git a/stats.go b/stats.go index a5b6bbc..3aef4de 100644 --- a/stats.go +++ b/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)) }