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

Method removeHandler

Lib/logging/__init__.py:1698–1704  ·  view source on GitHub ↗

Remove the specified handler from this logger.

(self, hdlr)

Source from the content-addressed store, hash-verified

1696 self.handlers.append(hdlr)
1697
1698 def removeHandler(self, hdlr):
1699 """
1700 Remove the specified handler from this logger.
1701 """
1702 with _lock:
1703 if hdlr in self.handlers:
1704 self.handlers.remove(hdlr)
1705
1706 def hasHandlers(self):
1707 """

Callers 15

_install_loggersFunction · 0.80
common_logger_configMethod · 0.80
basicConfigFunction · 0.80
_caplogFunction · 0.80
test_filenameMethod · 0.80
tearDownMethod · 0.80
test_flush_on_closeMethod · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80
setUpMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 15

_caplogFunction · 0.64
test_filenameMethod · 0.64
tearDownMethod · 0.64
test_flush_on_closeMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
test_outputMethod · 0.64