example/interact.go
changeset 163 3f891f7fe817
parent 162 7b5586a5e109
child 178 ccfebbd9f49b
--- 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