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