mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
Route every android.util.Log call through a new AmberLog wrapper that only emits when BuildConfig.DEBUG is true. Release builds now produce no logcat output, keeping potentially sensitive data (npubs, relay URLs, event payloads) out of device logs. The debug gate lives in a single place (AmberLog), replacing the scattered inline `if (BuildConfig.DEBUG)` guards in NostrClientLoggerListener. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B4FaZsFdswYa1F2jTy4HLN