MCPcopy Create free account
hub / github.com/pytorch/executorch / debug_log

Function debug_log

scripts/pick_doc_commits.py:38–42  ·  view source on GitHub ↗

Prints a message to stderr if verbosity is greater than zero.

(message: str)

Source from the content-addressed store, hash-verified

36
37
38def debug_log(message: str):
39 """Prints a message to stderr if verbosity is greater than zero."""
40 global verbosity
41 if verbosity > 0:
42 sys.stderr.write(f"VERBOSE: {message}\n")
43
44
45def run_git(command: List[str]) -> List[str]:

Callers 2

run_gitFunction · 0.85
is_doc_only_commitFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected