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

Method emit

Lib/logging/handlers.py:1502–1511  ·  view source on GitHub ↗

Emit a record. Writes the LogRecord to the queue, preparing it for pickling first.

(self, record)

Source from the content-addressed store, hash-verified

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
1514class QueueListener(object):

Callers

nothing calls this directly

Calls 3

enqueueMethod · 0.95
prepareMethod · 0.95
handleErrorMethod · 0.45

Tested by

no test coverage detected