aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/primitives.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-13 01:04:45 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-13 01:04:45 +0100
commit4d9799f1037b46fe610b875bd2dd8aacb8966ec9 (patch)
tree1962efe758a496fcc924b1a7eb2eb599496c4d65 /libmproxy/proxy/primitives.py
parent7e86744226cc881507bc6c6931316b6b73ed03ec (diff)
downloadmitmproxy-4d9799f1037b46fe610b875bd2dd8aacb8966ec9.tar.gz
mitmproxy-4d9799f1037b46fe610b875bd2dd8aacb8966ec9.tar.bz2
mitmproxy-4d9799f1037b46fe610b875bd2dd8aacb8966ec9.zip
add support for log levels
Diffstat (limited to 'libmproxy/proxy/primitives.py')
-rw-r--r--libmproxy/proxy/primitives.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmproxy/proxy/primitives.py b/libmproxy/proxy/primitives.py
index f6a02e51..cbf5b2d8 100644
--- a/libmproxy/proxy/primitives.py
+++ b/libmproxy/proxy/primitives.py
@@ -67,5 +67,6 @@ class AddressPriority(object):
class Log:
- def __init__(self, msg):
- self.msg = msg \ No newline at end of file
+ def __init__(self, msg, level):
+ self.msg = msg
+ self.level = level \ No newline at end of file