(self, event: str, *args: Any, **kw: Any)
| 700 | await self._dispatch_to_sync(self.sync_bl.critical, event, args, kw) |
| 701 | |
| 702 | async def exception(self, event: str, *args: Any, **kw: Any) -> None: |
| 703 | # To make `log.exception("foo") work, we have to check if the user |
| 704 | # passed an explicit exc_info and if not, supply our own. |
| 705 | ei = kw.pop("exc_info", None) |
| 706 | if ei is None and kw.get("exception") is None: |
| 707 | ei = sys.exc_info() |
| 708 | |
| 709 | kw["exc_info"] = ei |
| 710 | |
| 711 | await self._dispatch_to_sync(self.sync_bl.exception, event, args, kw) |
| 712 | |
| 713 | async def log(self, level: Any, event: str, *args: Any, **kw: Any) -> None: |
| 714 | await self._dispatch_to_sync( |
nothing calls this directly
no test coverage detected