(self, record)
Record emitted events to IPC database for asynchronous I/O
        communication with the parent process
Record emitted events to IPC database for asynchronous I/O
        communication with the parent process
Record emitted events to IPC database for asynchronous I / O communication with the parent process
def emit(self, record):
        """
        Record emitted events to IPC database for asynchronous I/O
        communication with the parent process
        """
        conf.database_cursor.execute("INSERT INTO logs VALUES(NULL, ?, ?, ?, ?)",
                                     (conf.taskid, time.strftime("%X"), record.levelname,
                                      record.msg % record.args if record.args else record.msg))
def emit ( self , record ) : conf . database_cursor . execute ( "INSERT INTO logs VALUES(NULL, ?, ?, ?, ?)" , ( conf . taskid , time . strftime ( "%X" ) , record . levelname , record . msg % record . args if record . args else record . msg ) )