Emit a record. Writes the LogRecord to the queue, preparing it for pickling first.
(self, record)
| 1520 | return record |
| 1521 | |
| 1522 | def emit(self, record): |
| 1523 | """ |
| 1524 | Emit a record. |
| 1525 | |
| 1526 | Writes the LogRecord to the queue, preparing it for pickling first. |
| 1527 | """ |
| 1528 | try: |
| 1529 | self.enqueue(self.prepare(record)) |
| 1530 | except Exception: |
| 1531 | self.handleError(record) |
| 1532 | |
| 1533 | |
| 1534 | class QueueListener(object): |
nothing calls this directly
no test coverage detected