MCPcopy Index your code
hub / github.com/RustPython/RustPython / enqueue

Method enqueue

Lib/logging/handlers.py:1459–1467  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

emitMethod · 0.95

Calls 1

put_nowaitMethod · 0.45

Tested by

no test coverage detected