Emit a record. Writes the LogRecord to the queue, preparing it for pickling first.
(self, record)
| 1500 | return record |
| 1501 | |
| 1502 | def emit(self, record): |
| 1503 | """ |
| 1504 | Emit a record. |
| 1505 | |
| 1506 | Writes the LogRecord to the queue, preparing it for pickling first. |
| 1507 | """ |
| 1508 | try: |
| 1509 | self.enqueue(self.prepare(record)) |
| 1510 | except Exception: |
| 1511 | self.handleError(record) |
| 1512 | |
| 1513 | |
| 1514 | class QueueListener(object): |
nothing calls this directly
no test coverage detected