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

Method mapLogRecord

Lib/logging/handlers.py:1253–1259  ·  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

1251 self.context = context
1252
1253 def mapLogRecord(self, record):
1254 """
1255 Default implementation of mapping the log record into a dict
1256 that is sent as the CGI data. Overwrite in your class.
1257 Contributed by Franz Glasner.
1258 """
1259 return record.__dict__
1260
1261 def getConnection(self, host, secure):
1262 """

Callers 1

emitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected