MCPcopy
hub / github.com/Delgan/loguru / warning

Method warning

loguru/_logger.py:2084–2086  ·  view source on GitHub ↗

r"""Log ``message.format(*args, **kwargs)`` with severity ``'WARNING'``.

(__self, __message, *args, **kwargs)

Source from the content-addressed store, hash-verified

2082 __self._log("SUCCESS", False, __self._options, __message, args, kwargs)
2083
2084 def warning(__self, __message, *args, **kwargs): # noqa: N805
2085 r"""Log ``message.format(*args, **kwargs)`` with severity ``'WARNING'``."""
2086 __self._log("WARNING", False, __self._options, __message, args, kwargs)
2087
2088 def error(__self, __message, *args, **kwargs): # noqa: N805
2089 r"""Log ``message.format(*args, **kwargs)`` with severity ``'ERROR'``."""

Callers 5

lazinessFunction · 0.80
test_contextualize_resetFunction · 0.80
test_stream_handlerFunction · 0.80
test_file_handlerFunction · 0.80

Calls 1

_logMethod · 0.80

Tested by 5

lazinessFunction · 0.64
test_contextualize_resetFunction · 0.64
test_stream_handlerFunction · 0.64
test_file_handlerFunction · 0.64