MCPcopy
hub / github.com/open-cli-tools/concurrently / logCommandText

Method logCommandText

lib/logger.ts:273–280  ·  view source on GitHub ↗
(text: string, command: Command)

Source from the content-addressed store, hash-verified

271 }
272
273 logCommandText(text: string, command: Command) {
274 if (this.hide.includes(String(command.index)) || this.hide.includes(command.name)) {
275 return;
276 }
277
278 const prefix = this.colorText(command, this.getPrefix(command));
279 return this.log(prefix + (prefix ? ' ' : ''), text, command);
280 }
281
282 /**
283 * Logs a global event (e.g. sending signals to processes).

Callers 3

logCommandEventMethod · 0.95
logger.spec.tsFile · 0.80
handleMethod · 0.80

Calls 3

colorTextMethod · 0.95
getPrefixMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected