MCPcopy Create free account
hub / github.com/captbaritone/webamp / log

Function log

packages/skin-database/scripts/deploy.ts:37–43  ·  view source on GitHub ↗
(message: string, color?: keyof typeof colors)

Source from the content-addressed store, hash-verified

35}
36
37function log(message: string, color?: keyof typeof colors): void {
38 if (color) {
39 console.log(`${colors[color]}${message}${colors.reset}`);
40 } else {
41 console.log(message);
42 }
43}
44
45function logBlank(): void {
46 console.log();

Callers 6

execFunction · 0.70
detectCurrentDeploymentFunction · 0.70
promptForConfirmationFunction · 0.70
switchApacheConfigFunction · 0.70
restoreBackupFunction · 0.70
mainFunction · 0.70

Calls 1

logMethod · 0.65

Tested by

no test coverage detected