mitmproxy/examples/simple/log_events.py

8 lines
170 B
Python

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.")