Enqueue a record. The base implementation uses put_nowait. You may want to override this method if you want to use blocking, timeouts or custom queue implementations.
(self, record)
| 1477 | self.listener = None # will be set to listener if configured via dictConfig() |
| 1478 | |
| 1479 | def enqueue(self, record): |
| 1480 | """ |
| 1481 | Enqueue a record. |
| 1482 | |
| 1483 | The base implementation uses put_nowait. You may want to override |
| 1484 | this method if you want to use blocking, timeouts or custom queue |
| 1485 | implementations. |
| 1486 | """ |
| 1487 | self.queue.put_nowait(record) |
| 1488 | |
| 1489 | def prepare(self, record): |
| 1490 | """ |