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

Method addHandler

Lib/logging/__init__.py:1690–1696  ·  view source on GitHub ↗

Add the specified handler to this logger.

(self, hdlr)

Source from the content-addressed store, hash-verified

1688 self._tls.in_progress = False
1689
1690 def addHandler(self, hdlr):
1691 """
1692 Add the specified handler to this logger.
1693 """
1694 with _lock:
1695 if not (hdlr in self.handlers):
1696 self.handlers.append(hdlr)
1697
1698 def removeHandler(self, hdlr):
1699 """

Callers 15

_install_loggersFunction · 0.80
add_handlersMethod · 0.80
basicConfigFunction · 0.80
_showwarningFunction · 0.80
setUpMethod · 0.80
_caplogFunction · 0.80
test_filenameMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
test_flush_on_closeMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by 15

setUpMethod · 0.64
_caplogFunction · 0.64
test_filenameMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
test_flush_on_closeMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64