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

Method getEventCategory

Lib/logging/handlers.py:1176–1183  ·  view source on GitHub ↗

Return the event category for the record. Override this if you want to specify your own categories. This version returns 0.

(self, record)

Source from the content-addressed store, hash-verified

1174 return 1
1175
1176 def getEventCategory(self, record):
1177 """
1178 Return the event category for the record.
1179
1180 Override this if you want to specify your own categories. This version
1181 returns 0.
1182 """
1183 return 0
1184
1185 def getEventType(self, record):
1186 """

Callers 1

emitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected