Log with level debug.
(self, txt)
| 127 | self.master = master |
| 128 | |
| 129 | def debug(self, txt): |
| 130 | """ |
| 131 | Log with level debug. |
| 132 | """ |
| 133 | warnings.warn( |
| 134 | "mitmproxy's ctx.log.debug() is deprecated. Please use the standard Python logging module instead.", |
| 135 | DeprecationWarning, |
| 136 | stacklevel=2, |
| 137 | ) |
| 138 | logging.getLogger().debug(txt) |
| 139 | |
| 140 | def info(self, txt): |
| 141 | """ |