MCPcopy Index your code
hub / github.com/python/cpython / emit

Method emit

Lib/test/test_logging.py:761–763  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

759 stream=open('/dev/null', 'wt', encoding='utf-8'))
760
761 def emit(self, record):
762 with self.sub_handler.lock:
763 self.sub_handler.emit(record)
764
765 self.assertEqual(len(logging._handlers), 0)
766 refed_h = _OurHandler()

Callers 9

emitMethod · 0.45
test_file_createdMethod · 0.45
test_max_bytesMethod · 0.45
test_rotatorMethod · 0.45
test_rolloverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected