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

Method getEventCategory

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

1189 return 1
1190
1191 def getEventCategory(self, record):
1192 """
1193 Return the event category for the record.
1194
1195 Override this if you want to specify your own categories. This version
1196 returns 0.
1197 """
1198 return 0
1199
1200 def getEventType(self, record):
1201 """

Callers 1

emitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected