mitmproxy/mitmproxy/ctx.py
Jon Brown ae00e82c3a
remove mention of ctx.log from addon example (#6552)
[#5590](https://github.com/mitmproxy/mitmproxy/pull/5590) made the
switch to standard logging, but this part of the addons documentation
references the previous `ctx.log` approach.
2024-01-04 13:35:17 +00:00

14 lines
315 B
Python

from __future__ import annotations
import typing
if typing.TYPE_CHECKING:
import mitmproxy.log
import mitmproxy.master
import mitmproxy.options
master: mitmproxy.master.Master
options: mitmproxy.options.Options
log: mitmproxy.log.Log
"""Deprecated: Use Python's builtin `logging` module instead."""