diff options
-rw-r--r-- | xmpp/encoder_decoder.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp/encoder_decoder.go b/xmpp/encoder_decoder.go index f6958be..d7951b3 100644 --- a/xmpp/encoder_decoder.go +++ b/xmpp/encoder_decoder.go @@ -19,12 +19,12 @@ func newEncoderDecoder(s *session) encoderDecoder { ed.session = s - lw := logger{"TX: "} + lw := logger{"[TX] "} w := io.MultiWriter(s.transport, lw) ed.tx = xml.NewEncoder(w) - ed.tx.Indent("", " ") + ed.tx.Indent("", "") - lr := logger{"RX: "} + lr := logger{"[RX] "} r := io.TeeReader(s.transport, lr) ed.rx = xml.NewDecoder(r) |