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

Method warning

src/structlog/stdlib.py:224–228  ·  view source on GitHub ↗

Process event and call `logging.Logger.warning` with the result.

(self, event: str | None = None, *args: Any, **kw: Any)

Source from the content-addressed store, hash-verified

222 return self._proxy_to_logger("info", event, *args, **kw)
223
224 def warning(self, event: str | None = None, *args: Any, **kw: Any) -> Any:
225 """
226 Process event and call `logging.Logger.warning` with the result.
227 """
228 return self._proxy_to_logger("warning", event, *args, **kw)
229
230 warn = warning
231

Calls 1

_proxy_to_loggerMethod · 0.95