aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-02-20 17:15:35 +0100
committerGitHub <noreply@github.com>2018-02-20 17:15:35 +0100
commit3934dbb5ad6bf69fd22f682a74b2933874f9f01f (patch)
tree742f615fcd5d9d65d49aecd5449681d9b064fe0f /examples
parent29ef663aa10a2cef5e6e1d310848d888d0d8e379 (diff)
downloadmitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.tar.gz
mitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.tar.bz2
mitmproxy-3934dbb5ad6bf69fd22f682a74b2933874f9f01f.zip
update log_events example documentation
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/log_events.py4
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