mitmproxy/examples/logging.py
2016-10-16 20:26:06 +13: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.")