pvl/irker.py
changeset 71 11b267e1b2b0
parent 48 40ccb8d3c96e
child 72 7bb07131c2b5
--- a/pvl/irker.py	Sat Jan 05 01:30:27 2013 +0200
+++ b/pvl/irker.py	Sat Jan 05 01:36:30 2013 +0200
@@ -74,15 +74,19 @@
         log.debug("%s", file)
 
     def send (self, **opts) :
+        log.debug("%s", opts)
+
         json.dump(opts, self.file)
         self.file.write('\n')
         self.file.flush()
 
     def join (self, to) :
+        log.info("%s", to)
         self.send(to=to, privmsg='')
 
     def privmsg (self, to, *args) :
         for arg in args :
+            log.info("%s: %s", to, arg)
             self.send(to=to, privmsg=arg)
 
 import urlparse