Log stanzas sent to the XMPP component.

This commit is contained in:
Matt Goodall 2012-07-09 02:19:10 +01:00
parent 3be7cf7b0b
commit 6a42d26a31
1 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,8 @@ func main() {
log.Fatal(err)
}
log.Println(x)
select {}
for {
v := x.Recv()
log.Printf("recv: %v", v)
}
}