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)
| 1457 | self.listener = None # will be set to listener if configured via dictConfig() |
| 1458 | |
| 1459 | def enqueue(self, record): |
| 1460 | """ |
| 1461 | Enqueue a record. |
| 1462 | |
| 1463 | The base implementation uses put_nowait. You may want to override |
| 1464 | this method if you want to use blocking, timeouts or custom queue |
| 1465 | implementations. |
| 1466 | """ |
| 1467 | self.queue.put_nowait(record) |
| 1468 | |
| 1469 | def prepare(self, record): |
| 1470 | """ |