MCPcopy
hub / github.com/mitmproxy/mitmproxy / error

Method error

mitmproxy/log.py:176–185  ·  view source on GitHub ↗

Log with level error.

(self, txt)

Source from the content-addressed store, hash-verified

174 logging.getLogger().warning(txt)
175
176 def error(self, txt):
177 """
178 Log with level error.
179 """
180 warnings.warn(
181 "mitmproxy's ctx.log.error() is deprecated. Please use the standard Python logging module instead.",
182 DeprecationWarning,
183 stacklevel=2,
184 )
185 logging.getLogger().error(txt)
186
187 def __call__(self, text, level="info"):
188 warnings.warn(

Callers 14

unpackMethod · 0.45
unpack_fromMethod · 0.45
unpack_rrsMethod · 0.45
safecallFunction · 0.45
updateStoreFromUrlFunction · 0.45
CommandBarFunction · 0.45
handleClickCopyButtonFunction · 0.45
CodeEditorFunction · 0.45
ValueEditorClass · 0.45
sendMessageMethod · 0.45
onCloseMethod · 0.45

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected