MCPcopy
hub / github.com/mitmproxy/mitmproxy / set_level

Method set_level

test/conftest.py:55–56  ·  view source on GitHub ↗
(self, level: int | str, logger: str | None = None)

Source from the content-addressed store, hash-verified

53 self.caplog = caplog
54
55 def set_level(self, level: int | str, logger: str | None = None) -> None:
56 self.caplog.set_level(level, logger)
57
58 async def await_log(self, text, timeout=2):
59 await asyncio.sleep(0)

Callers 15

test_exception_handlerFunction · 0.80
test_tcp_start_stopFunction · 0.80
test_tcp_timeoutFunction · 0.80
test_transparentFunction · 0.80
test_wireguardFunction · 0.80
test_udp_start_stopFunction · 0.80
test_dual_stackFunction · 0.80
test_dns_start_stopFunction · 0.80
test_local_redirectorFunction · 0.80
test_simpleMethod · 0.80
test_reloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected