MCPcopy
hub / github.com/AndyMik90/Aperant / log

Function log

scripts/bump-version.js:43–45  ·  view source on GitHub ↗
(message, color = colors.reset)

Source from the content-addressed store, hash-verified

41};
42
43function log(message, color = colors.reset) {
44 console.log(`${color}${message}${colors.reset}`);
45}
46
47function error(message) {
48 log(`❌ Error: ${message}`, colors.red);

Callers 5

errorFunction · 0.70
successFunction · 0.70
infoFunction · 0.70
warningFunction · 0.70
mainFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected