aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/log_events.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-24 10:15:41 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-25 10:48:12 +1300
commit541c1e8b9f0e2e12bd770100888129639cc94827 (patch)
tree8939e7c9fc7e6810e9363e598e84882098cbde04 /examples/simple/log_events.py
parentb531353ee0259425cff2b4857716ba2cd995a437 (diff)
downloadmitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.tar.gz
mitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.tar.bz2
mitmproxy-541c1e8b9f0e2e12bd770100888129639cc94827.zip
addons: start -> load throughout
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.")