mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-07 00:41:49 +08:00
restrict -e to mitmproxy only (not mitmdump)
This commit is contained in:
@@ -15,9 +15,10 @@ class ScriptContext:
|
||||
Logs an event.
|
||||
|
||||
How this is handled depends on the front-end. mitmdump will display
|
||||
events if the eventlog flag ("-e") was passed. mitmproxy sends
|
||||
output to the eventlog for display ("v" keyboard shortcut).
|
||||
events if the v flag ("-e") was passed. mitmproxy sends
|
||||
output to the eventlog for display ("e" keyboard shortcut).
|
||||
"""
|
||||
#FIXME refactor_loglevel
|
||||
self._master.add_event(*args, **kwargs)
|
||||
|
||||
def duplicate_flow(self, f):
|
||||
|
||||
Reference in New Issue
Block a user