(self, record)
Emit a record.

        Writes the LogRecord to the queue, preparing it for pickling first.
Emit a record.
Emit a record .
def emit(self, record):
        """
        Emit a record.

        Writes the LogRecord to the queue, preparing it for pickling first.
        """
        try:
            self.enqueue(self.prepare(record))
        except Exception:
            self.handleError(record)
def emit ( self , record ) : try : self . enqueue ( self . prepare ( record ) ) except Exception : self . handleError ( record )