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

Method acritical

src/structlog/stdlib.py:505–511  ·  view source on GitHub ↗

Log using `critical()`, 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

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 """
507 Log using `critical()`, but asynchronously in a separate thread.
508
509 .. versionadded:: 23.1.0
510 """
511 await self._dispatch_to_sync(self.critical, event, args, kw)
512
513 async def afatal(self, event: str, *args: Any, **kw: Any) -> None:
514 """

Callers 2

typecheck_stdlib_asyncFunction · 0.45

Calls 1

_dispatch_to_syncMethod · 0.95

Tested by

no test coverage detected