(self, service, type, msg)
Actual sending is done here.
Actual sending is done here.
Actual sending is done here .
def send_to_logdb(self, service, type, msg):
        """Actual sending is done here."""

        if self.sock is None:
            self.createSocket()

        if self.sock:
            logcur = self.sock.cursor()
            query = "select * from log.add(%s, %s, %s)"
            logcur.execute(query, [type, service, msg])
def send_to_logdb ( self , service , type , msg ) : if self . sock is None : self . createSocket ( ) if self . sock : logcur = self . sock . cursor ( ) query = "select * from log.add(%s, %s, %s)" logcur . execute ( query , [ type , service , msg ] )