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

Method removeHandler

Lib/logging/__init__.py:1694–1700  ·  view source on GitHub ↗

Remove the specified handler from this logger.

(self, hdlr)

Source from the content-addressed store, hash-verified

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

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