From d56bbb95e252b1e3046b4f8c946b6a1b2e3585b8 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 29 Oct 2016 11:31:38 -0700 Subject: rename logging .py to prevent import errors --- examples/context_logging.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/context_logging.py (limited to 'examples/context_logging.py') diff --git a/examples/context_logging.py b/examples/context_logging.py new file mode 100644 index 00000000..dccfd8b2 --- /dev/null +++ b/examples/context_logging.py @@ -0,0 +1,6 @@ +from mitmproxy import ctx + + +def start(): + ctx.log.info("This is some informative text.") + ctx.log.error("This is an error.") -- cgit v1.2.3