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

Method mapLogRecord

Lib/logging/handlers.py:1273–1279  ·  view source on GitHub ↗

Default implementation of mapping the log record into a dict that is sent as the CGI data. Overwrite in your class. Contributed by Franz Glasner.

(self, record)

Source from the content-addressed store, hash-verified

1271 self.context = context
1272
1273 def mapLogRecord(self, record):
1274 """
1275 Default implementation of mapping the log record into a dict
1276 that is sent as the CGI data. Overwrite in your class.
1277 Contributed by Franz Glasner.
1278 """
1279 return record.__dict__
1280
1281 def getConnection(self, host, secure):
1282 """

Callers 1

emitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected