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

Method formatRequest

cli/local_gateway.js:22–24  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

20 }
21
22 formatRequest (req) {
23 return chalk.grey(`(${chalk.yellow(req ? (req._background ? chalk.bold('bg:') : '') + req._uuid.split('-')[0] : 'GLOBAL')}) ${this.routename(req)}`);
24 }
25
26 formatMessage (message, logType) {
27 let color = {result: 'cyan', error: 'red'}[logType] || 'grey';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected