Roo-Code/.vscode
Hannes Rudolph 6abacbe59f
feat(api): add centralized API logging module
- Add new logging module at src/api/core/logging/ with:
  - ApiLogger singleton for structured request/response/error logging
  - withLogging() wrapper for automatic stream metrics tracking
  - createLoggingFetch() HTTP interceptor for raw request/response logging
  - env-config for reading ROO_CODE_LOGGING from workspace .env.local

- Integrate logging into all 20+ providers via BaseProvider.getLogContext()
- Add protected providerName getter pattern to all provider classes
- Enable HTTP-level logging in OpenRouter provider as reference implementation

- Configuration: Set ROO_CODE_LOGGING=true in workspace .env.local to enable
- Logs include: provider name, model, operation, tokens, latency, errors

Test coverage: 67 tests passing for logging module and providers
2025-12-19 17:17:35 -05:00
..
extensions.json Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
launch.json feat(api): add centralized API logging module 2025-12-19 17:17:35 -05:00
settings.json Rate limit when starting a subtask (#4453) 2025-06-18 12:45:36 -04:00
tasks.json Add dependsOn for watch:esbuild script (#4026) 2025-05-26 22:00:39 -07:00