aboutsummaryrefslogtreecommitdiffstats
path: root/examples/logging.py
blob: dccfd8b2f3dc74b8869aaec70f9fb439f1294e26 (plain)
1
2
3
4
5
6
from mitmproxy import ctx


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