diff options
author | Maximilian Hils <git@maximilianhils.com> | 2018-02-20 17:15:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 17:15:35 +0100 |
commit | 3934dbb5ad6bf69fd22f682a74b2933874f9f01f (patch) | |
tree | 742f615fcd5d9d65d49aecd5449681d9b064fe0f /examples/simple | |
parent | 29ef663aa10a2cef5e6e1d310848d888d0d8e379 (diff) | |
download | mitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.tar.gz mitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.tar.bz2 mitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.zip |
update log_events example documentation
Diffstat (limited to 'examples/simple')
-rw-r--r-- | examples/simple/log_events.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/simple/log_events.py b/examples/simple/log_events.py index 581b99f3..b9aa2c1f 100644 --- a/examples/simple/log_events.py +++ b/examples/simple/log_events.py @@ -1,8 +1,6 @@ """ It is recommended to use `ctx.log` for logging within a script. -This goes to the event log in mitmproxy and to stdout in mitmdump. - -If you want to help us out: https://github.com/mitmproxy/mitmproxy/issues/1530 :-) +print() statements are equivalent to ctx.log.warn(). """ from mitmproxy import ctx |