From 513d7d280fe4e9cd1c0105225d38df45ecb5c815 Mon Sep 17 00:00:00 2001 From: Chris Busbey Date: Wed, 28 Sep 2016 15:33:43 -0500 Subject: [PATCH] fixes file log output for incoming, outgoing --- file_log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file_log.go b/file_log.go index e385a3d29..02f27b001 100644 --- a/file_log.go +++ b/file_log.go @@ -15,11 +15,11 @@ type fileLog struct { } func (l fileLog) OnIncoming(msg []byte) { - l.messageLogger.Print(msg) + l.messageLogger.Print(string(msg)) } func (l fileLog) OnOutgoing(msg []byte) { - l.messageLogger.Print(msg) + l.messageLogger.Print(string(msg)) } func (l fileLog) OnEvent(msg string) {