MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / createDualLogger

Function createDualLogger

src/utils/outputChannelLogger.ts:46–51  ·  view source on GitHub ↗
(outputChannelLog: LogFunction)

Source from the content-addressed store, hash-verified

44 * Following the pattern from src/extension/api.ts
45 */
46export function createDualLogger(outputChannelLog: LogFunction): LogFunction {
47 return (...args: unknown[]) => {
48 outputChannelLog(...args)
49 console.log(...args)
50 }
51}

Callers 2

activateFunction · 0.90

Calls 1

logMethod · 0.65

Tested by

no test coverage detected