MCPcopy
hub / github.com/subquery/subql / commandLogger

Function commandLogger

packages/cli/src/adapters/utils.ts:204–211  ·  view source on GitHub ↗
(command: Command)

Source from the content-addressed store, hash-verified

202}
203
204export function commandLogger(command: Command): Logger {
205 return {
206 info: command.log.bind(command),
207 warn: command.warn.bind(command),
208 error: command.error.bind(command),
209 debug: (command as any).debug.bind(command),
210 };
211}
212
213export function silentLogger(): Logger {
214 return {

Callers 15

runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected