From 3934dbb5ad6bf69fd22f682a74b2933874f9f01f Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 20 Feb 2018 17:15:35 +0100 Subject: update log_events example documentation --- examples/simple/log_events.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3