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

Method adebug

src/structlog/stdlib.py:473–479  ·  view source on GitHub ↗

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

471 _ASYNC_CALLING_THREAD.reset(thread_token)
472
473 async def adebug(self, event: str, *args: Any, **kw: Any) -> None:
474 """
475 Log using `debug()`, but asynchronously in a separate thread.
476
477 .. versionadded:: 23.1.0
478 """
479 await self._dispatch_to_sync(self.debug, event, args, kw)
480
481 async def ainfo(self, event: str, *args: Any, **kw: Any) -> None:
482 """

Callers 4

test_async_one_belowMethod · 0.45
typecheck_stdlib_asyncFunction · 0.45

Calls 1

_dispatch_to_syncMethod · 0.95

Tested by 2

test_async_one_belowMethod · 0.36