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

Method bind

src/structlog/stdlib.py:179–183  ·  view source on GitHub ↗

Return a new logger with *new_values* added to the existing ones.

(self, **new_values: Any)

Source from the content-addressed store, hash-verified

177 _logger: logging.Logger
178
179 def bind(self, **new_values: Any) -> Self:
180 """
181 Return a new logger with *new_values* added to the existing ones.
182 """
183 return super().bind(**new_values)
184
185 def unbind(self, *keys: str) -> Self:
186 """

Callers 15

as_immutableFunction · 0.45
tmp_bindFunction · 0.45
bindMethod · 0.45
test_proxies_bindMethod · 0.45
test_proxies_newMethod · 0.45
test_proxies_unbindMethod · 0.45
test_correct_levelsMethod · 0.45
test_log_methodMethod · 0.45
test_integrationMethod · 0.45
test_recreate_defaultsFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_proxies_bindMethod · 0.36
test_proxies_newMethod · 0.36
test_proxies_unbindMethod · 0.36
test_correct_levelsMethod · 0.36
test_log_methodMethod · 0.36
test_integrationMethod · 0.36
test_recreate_defaultsFunction · 0.36
test_configure_allMethod · 0.36
test_resetMethod · 0.36
test_just_processorsMethod · 0.36