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

Function _log

tests/test_threadlocal.py:60–65  ·  view source on GitHub ↗

Returns a ReturnLogger with a freshly wrapped dict.

(logger)

Source from the content-addressed store, hash-verified

58
59@pytest.fixture(name="log")
60def _log(logger):
61 """
62 Returns a ReturnLogger with a freshly wrapped dict.
63 """
64 with pytest.deprecated_call():
65 return wrap_logger(logger, context_class=wrap_dict(dict))
66
67
68@pytest.fixture(name="logger")

Callers

nothing calls this directly

Calls 2

wrap_loggerFunction · 0.90
wrap_dictFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…