code: def sendMessage(self, payload, *args, **kwargs):
          
          logger.debug("Outgoing message for ({peer}) : {message}".format(
              peer=self.peer, message=payload))
  
          WebSocketServerProtocol.sendMessage(self, payload, *args, **kwargs)
docs: Logs message