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

Method emit

Lib/logging/handlers.py:532–540  ·  view source on GitHub ↗

Emit a record. If underlying file has changed, reopen the file before emitting the record to it.

(self, record)

Source from the content-addressed store, hash-verified

530 self._statstream()
531
532 def emit(self, record):
533 """
534 Emit a record.
535
536 If underlying file has changed, reopen the file before emitting the
537 record to it.
538 """
539 self.reopenIfNeeded()
540 logging.FileHandler.emit(self, record)
541
542
543class SocketHandler(logging.Handler):

Callers

nothing calls this directly

Calls 2

reopenIfNeededMethod · 0.95
emitMethod · 0.45

Tested by

no test coverage detected