mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
08895e9ba6
- restructure examples (fix #4031) - remove example dependencies from setup.py, we do not need special dependencies for our supported addons. - unify how we generate docs from code - improve example docs
9 lines
216 B
Python
9 lines
216 B
Python
"""Post messages to mitmproxy's event log."""
|
|
from mitmproxy import ctx
|
|
|
|
|
|
def load(l):
|
|
ctx.log.info("This is some informative text.")
|
|
ctx.log.warn("This is a warning.")
|
|
ctx.log.error("This is an error.")
|