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) {