aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/log_events.py
blob: 4f70e340db54b6a09b3ab2bf7292ea42fb167248 (plain)
1
2
3
4
5
6
7
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.")