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

Method awarning

src/structlog/stdlib.py:489–495  ·  view source on GitHub ↗

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

487 await self._dispatch_to_sync(self.info, event, args, kw)
488
489 async def awarning(self, event: str, *args: Any, **kw: Any) -> None:
490 """
491 Log using `warning()`, but asynchronously in a separate thread.
492
493 .. versionadded:: 23.1.0
494 """
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 """

Callers 2

typecheck_stdlib_asyncFunction · 0.45

Calls 1

_dispatch_to_syncMethod · 0.95

Tested by

no test coverage detected