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