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

Method write

src/debugpy/common/log.py:76–82  ·  view source on GitHub ↗
(self, level, output)

Source from the content-addressed store, hash-verified

74 _update_levels()
75
76 def write(self, level, output):
77 if level in self.levels:
78 try:
79 self.file.write(output)
80 self.file.flush()
81 except Exception: # pragma: no cover
82 pass
83
84 def close(self):
85 with _lock:

Callers 15

do_vcs_installFunction · 0.45
write_to_version_fileFunction · 0.45
runMethod · 0.45
runMethod · 0.45
find_sourcesMethod · 0.45
do_setupFunction · 0.45
_process_chunkMethod · 0.45
_wait_for_user_inputFunction · 0.45
attach_to_pidFunction · 0.45
newlineFunction · 0.45
writeFunction · 0.45
write_jsonMethod · 0.45

Calls 1

flushMethod · 0.45

Tested by 12

write_logFunction · 0.36
factoryFunction · 0.36
code_to_debugFunction · 0.36
code_to_debugFunction · 0.36
code_to_debugFunction · 0.36
test_shell_expansionFunction · 0.36
test_inputFunction · 0.36
test_sudoFunction · 0.36
make_custompyFunction · 0.36
test_unicode_dirFunction · 0.36
cli_parserFunction · 0.36