()
| 227 | * Idempotent: safe to call multiple times (subsequent calls are no-ops). |
| 228 | */ |
| 229 | export 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 | } |
no test coverage detected