aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/log_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/log_events.py')
-rw-r--r--examples/simple/log_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/log_events.py b/examples/simple/log_events.py
index a81892aa..518a202f 100644
--- a/examples/simple/log_events.py
+++ b/examples/simple/log_events.py
@@ -7,6 +7,6 @@ If you want to help us out: https://github.com/mitmproxy/mitmproxy/issues/1530 :
from mitmproxy import ctx
-def start(opts):
+def load(opts):
ctx.log.info("This is some informative text.")
ctx.log.error("This is an error.")