MCPcopy Create free account
hub / github.com/microsoft/debugpy / _log_message

Method _log_message

tests/debugpy/common/test_messaging.py:45–49  ·  view source on GitHub ↗
(self, dir, data)

Source from the content-addressed store, hash-verified

43 pass
44
45 def _log_message(self, dir, data):
46 format_string = "{0} {1} " + (
47 "{2:indent=None}" if isinstance(data, list) else "{2}"
48 )
49 return log.debug(format_string, self.name, dir, json.repr(data))
50
51 def read_json(self, decoder=None):
52 decoder = decoder if decoder is not None else self.json_decoder_factory()

Callers 2

read_jsonMethod · 0.95
write_jsonMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected