MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / initializeErrorLogSink

Function initializeErrorLogSink

source code/utils/errorLogSink.ts:227–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

initSinksFunction · 0.85

Calls 2

attachErrorLogSinkFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected