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

Method handle

Lib/logging/__init__.py:1670–1684  ·  view source on GitHub ↗

Call the handlers for the specified record. This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied.

(self, record)

Source from the content-addressed store, hash-verified

1668 self.handle(record)
1669
1670 def handle(self, record):
1671 """
1672 Call the handlers for the specified record.
1673
1674 This method is used for unpickled records received from a socket, as
1675 well as those created locally. Logger-level filtering is applied.
1676 """
1677 if self.disabled:
1678 return
1679 maybe_record = self.filter(record)
1680 if not maybe_record:
1681 return
1682 if isinstance(maybe_record, LogRecord):
1683 record = maybe_record
1684 self.callHandlers(record)
1685
1686 def addHandler(self, hdlr):
1687 """

Callers 2

_logMethod · 0.95
callHandlersMethod · 0.45

Calls 2

callHandlersMethod · 0.95
filterMethod · 0.45

Tested by

no test coverage detected