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

Method aerror

src/structlog/stdlib.py:497–503  ·  view source on GitHub ↗

Log using `error()`, but asynchronously in a separate thread. .. versionadded:: 23.1.0

(self, event: str, *args: Any, **kw: Any)

Source from the content-addressed store, hash-verified

495 await self._dispatch_to_sync(self.warning, event, args, kw)
496
497 async def aerror(self, event: str, *args: Any, **kw: Any) -> None:
498 """
499 Log using `error()`, but asynchronously in a separate thread.
500
501 .. versionadded:: 23.1.0
502 """
503 await self._dispatch_to_sync(self.error, event, args, kw)
504
505 async def acritical(self, event: str, *args: Any, **kw: Any) -> None:
506 """

Callers 2

typecheck_stdlib_asyncFunction · 0.45

Calls 1

_dispatch_to_syncMethod · 0.95

Tested by

no test coverage detected