Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hynek/structlog
/ __init__
Method
__init__
src/structlog/testing.py:218–219 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
216
logger: CapturingLogger
217
218
def
__init__(self) -> None:
219
self.logger = CapturingLogger()
220
221
def
__call__(self, *args: Any) -> CapturingLogger:
222
return
self.logger
Callers
nothing calls this directly
Calls
1
CapturingLogger
Class · 0.85
Tested by
no test coverage detected