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

Method setTarget

Lib/logging/handlers.py:1425–1430  ·  view source on GitHub ↗

Set the target handler for this handler.

(self, target)

Source from the content-addressed store, hash-verified

1423 (record.levelno >= self.flushLevel)
1424
1425 def setTarget(self, target):
1426 """
1427 Set the target handler for this handler.
1428 """
1429 with self.lock:
1430 self.target = target
1431
1432 def flush(self):
1433 """

Callers 3

_install_handlersFunction · 0.80
removeTargetMethod · 0.80

Calls

no outgoing calls

Tested by 2

removeTargetMethod · 0.64