mitmproxy/examples/context_logging.py
2016-10-29 11:31:38 -07:00

7 lines
131 B
Python

from mitmproxy import ctx
def start():
ctx.log.info("This is some informative text.")
ctx.log.error("This is an error.")