diff options
| author | Aldo Cortesi <aldo@corte.si> | 2017-03-25 11:42:43 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-25 11:42:43 +1300 |
| commit | c6a16e95e856c859b147e72a484feefe96c37ad9 (patch) | |
| tree | ea90d5849f57d6b74ca0cefbb4498ff10776a848 /examples/simple/log_events.py | |
| parent | b531353ee0259425cff2b4857716ba2cd995a437 (diff) | |
| parent | 65f0885bd6809966f694d1ffb965401b8ab2cffc (diff) | |
| download | mitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.tar.gz mitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.tar.bz2 mitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.zip | |
Merge pull request #2206 from cortesi/addonload
addon refactoring
Diffstat (limited to 'examples/simple/log_events.py')
| -rw-r--r-- | examples/simple/log_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/log_events.py b/examples/simple/log_events.py index a81892aa..581b99f3 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(l): ctx.log.info("This is some informative text.") ctx.log.error("This is an error.") |
