mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Every BackendAPI method had hand-rolled 'About to call ...' and 'Received: ...' debug lines, and the constructor printed the base URL and a masked API-key marker. Replace all of that with a single LogInterceptor attached under `if (kDebugMode)` to both the singleton Dio and the ephemeral Dio used by BackendAPI.test(). Headers and bodies are kept off so the Authorization bearer never lands in the console. The interceptor is tree-shaken from release builds. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>