MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / log

Function log

scripts/util.py:68–72  ·  view source on GitHub ↗
(*value: object, title: str, color: str | None)

Source from the content-addressed store, hash-verified

66
67
68def log(*value: object, title: str, color: str | None):
69 if isCi() or color is None:
70 print(f"{title}:", *value, flush=True)
71 else:
72 print(f"{color}{title}:{ENDC}", *value, flush=True)
73
74
75def debug(*value: object):

Callers 4

debugFunction · 0.85
infoFunction · 0.85
warnFunction · 0.85
failFunction · 0.85

Calls 1

isCiFunction · 0.85

Tested by

no test coverage detected