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

Method get_record

Lib/test/test_logging.py:4595–4599  ·  view source on GitHub ↗
(self, name=None)

Source from the content-addressed store, hash-verified

4593 }
4594
4595 def get_record(self, name=None):
4596 result = dict(self.common)
4597 if name is not None:
4598 result.update(self.variants[name])
4599 return logging.makeLogRecord(result)
4600
4601 def test_percent(self):
4602 # Test %-formatting

Callers 6

test_percentMethod · 0.95
test_bracesMethod · 0.95
test_dollarsMethod · 0.95
test_timeMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected