MCPcopy Create free account
hub / github.com/acode/cli / debugLog

Method debugLog

cli/commands/__nomethod__.js:297–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 }
296
297 let debugLog = msg => {
298 if (!debug) {
299 return;
300 }
301 msg = msg || '';
302 let prefix = '> ';
303 return console.log(
304 msg
305 .split('\n')
306 .map(line => chalk.grey(prefix + (line || '')))
307 .join('\n')
308 );
309 }
310
311 let cb = (err, result, headers) => {
312

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected