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

Method afatal

src/structlog/stdlib.py:513–519  ·  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

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 """
515 Log using `critical()`, but asynchronously in a separate thread.
516
517 .. versionadded:: 23.1.0
518 """
519 await self._dispatch_to_sync(self.critical, event, args, kw)
520
521 async def aexception(self, event: str, *args: Any, **kw: Any) -> None:
522 """

Calls 1

_dispatch_to_syncMethod · 0.95

Tested by 1