--- a/example/interact.go Mon Sep 30 18:59:37 2013 -0600
+++ b/example/interact.go Mon Sep 30 20:31:25 2013 -0600
@@ -11,22 +11,8 @@
"strings"
)
-type StdLogger struct {
-}
-
-func (s *StdLogger) Log(v ...interface{}) {
- log.Println(v...)
-}
-
-func (s *StdLogger) Logf(fmt string, v ...interface{}) {
- log.Printf(fmt, v...)
-}
-
func init() {
- logger := &StdLogger{}
- // xmpp.Debug = logger
- xmpp.Info = logger
- xmpp.Warn = logger
+ // xmpp.Debug = true
}
// Demonstrate the API, and allow the user to interact with an XMPP