MCPcopy
hub / github.com/mitmproxy/mitmproxy / load

Function load

examples/addons/log-events.py:11–18  ·  view source on GitHub ↗
(loader: Loader)

Source from the content-addressed store, hash-verified

9
10
11def load(loader: Loader):
12 logger.info("This is some informative text.")
13 logger.warning("This is a warning.")
14 logger.error("This is an error.")
15 logger.log(
16 ALERT,
17 "This is an alert. It has the same urgency as info, but will also pop up in the status bar.",
18 )

Callers

nothing calls this directly

Calls 3

infoMethod · 0.80
errorMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…