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

Method error

src/structlog/stdlib.py:232–236  ·  view source on GitHub ↗

Process event and call `logging.Logger.error` with the result.

(self, event: str | None = None, *args: Any, **kw: Any)

Source from the content-addressed store, hash-verified

230 warn = warning
231
232 def error(self, event: str | None = None, *args: Any, **kw: Any) -> Any:
233 """
234 Process event and call `logging.Logger.error` with the result.
235 """
236 return self._proxy_to_logger("error", event, *args, **kw)
237
238 def critical(self, event: str | None = None, *args: Any, **kw: Any) -> Any:
239 """

Callers 9

show_off.pyFile · 0.45
exceptionFunction · 0.45
aexceptionFunction · 0.45
__deepcopy__Method · 0.45
__deepcopy__Method · 0.45
__deepcopy__Method · 0.45
test_find_callerMethod · 0.45
test_reprMethod · 0.45

Calls 1

_proxy_to_loggerMethod · 0.95

Tested by 3

test_find_callerMethod · 0.36
test_reprMethod · 0.36