MCPcopy Create free account
hub / github.com/hynek/structlog / addHandler

Method addHandler

src/structlog/stdlib.py:376–380  ·  view source on GitHub ↗

Calls :meth:`logging.Logger.addHandler` with unmodified arguments.

(self, hdlr: logging.Handler)

Source from the content-addressed store, hash-verified

374 self._logger.handle(record)
375
376 def addHandler(self, hdlr: logging.Handler) -> None:
377 """
378 Calls :meth:`logging.Logger.addHandler` with unmodified arguments.
379 """
380 self._logger.addHandler(hdlr)
381
382 def removeHandler(self, hdlr: logging.Handler) -> None:
383 """

Callers 5

test_add_extra_e2eMethod · 0.80
api.pyFile · 0.80
test_e2eMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_add_extra_e2eMethod · 0.64
test_e2eMethod · 0.64