mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 02:37:15 +00:00
- 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
8 lines
216 B
Python
8 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.")
|