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

Function _logger

tests/test_threadlocal.py:69–74  ·  view source on GitHub ↗

Returns a simple logger stub with a *msg* method that takes one argument which gets returned.

()

Source from the content-addressed store, hash-verified

67
68@pytest.fixture(name="logger")
69def _logger():
70 """
71 Returns a simple logger stub with a *msg* method that takes one argument
72 which gets returned.
73 """
74 return ReturnLogger()
75
76
77class TestTmpBind:

Callers

nothing calls this directly

Calls 1

ReturnLoggerClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…