MCPcopy Create free account
hub / github.com/tiann/hapi / logDebug

Function logDebug

cli/src/utils/spawnWithAbort.ts:43–45  ·  view source on GitHub ↗
(message: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

41 const logPrefix = options.logLabel ? `[${options.logLabel}] ` : '';
42
43 const logDebug = (message: string, ...args: unknown[]) => {
44 logger.debug(`${logPrefix}${message}`, ...args);
45 };
46
47 await new Promise<void>((resolve, reject) => {
48 // Note: We intentionally do NOT pass signal to spawn() because Node.js's

Callers 2

abortHandlerFunction · 0.70
spawnWithAbortFunction · 0.70

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected