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

Function initializeErrorLogSink

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

Source from the content-addressed store, hash-verified

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

Callers 1

initSinksFunction · 0.85

Calls 2

attachErrorLogSinkFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected