MCPcopy
hub / github.com/claude-code-best/claude-code / initializeErrorLogSink

Function initializeErrorLogSink

src/utils/errorLogSink.ts:229–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 * Idempotent: safe to call multiple times (subsequent calls are no-ops).
228 */
229export function initializeErrorLogSink(): void {
230 attachErrorLogSink({
231 logError: logErrorImpl,
232 logMCPError: logMCPErrorImpl,
233 logMCPDebug: logMCPDebugImpl,
234 getErrorsPath,
235 getMCPLogsPath,
236 })
237
238 logForDebugging('Error log sink initialized')
239}

Callers 1

initSinksFunction · 0.85

Calls 2

attachErrorLogSinkFunction · 0.85
logForDebuggingFunction · 0.70

Tested by

no test coverage detected