MCPcopy
hub / github.com/pex-tool/pex / log

Function log

pex/bootstrap.py:126–128  ·  view source on GitHub ↗
(msg, V=1)

Source from the content-addressed store, hash-verified

124 should_log = {level: TRACER.should_log(V=level) for level in range(1, 10)}
125
126 def log(msg, V=1):
127 if should_log.get(V, False):
128 print("pex: {}".format(msg), file=sys.stderr)
129
130 # Remove the third party resources pex uses and demote pex bootstrap code to the end of
131 # sys.path for the duration of the run to allow conflicting versions supplied by user

Callers 1

demoteFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected