sdmaid-se/app-common-root
darken 7f94800e43 General: Use explicit log tags instead of the call-site receiver
The receiver-typed Any.log() overload derives its tag from the receiver's class
name via logTagViaCallSite(). Under obfuscation that name becomes the
R8-assigned one, so gplay logs would show tags like "a.b.c" and lose the
grouping that makes debug logs readable.

All 104 production call sites now pass an explicit tag. Files that had no tag
in scope get a file-level `private val TAG = logTag(...)`, matching the
existing convention. Messages and priorities are unchanged. Any.log() itself
stays, test sources keep using it.

ViewModel2/ViewModel4 had the same problem in defaultTag(): `this` in a
companion object is the companion, so the fallback tag was "Companion", not
the subclass name. It is now a fixed logTag("ViewModel"), and the seven
ViewModels that relied on the default pass their own companion TAG instead.
2026-09-05 15:29:30 +02:00
..
src General: Use explicit log tags instead of the call-site receiver 2026-09-05 15:29:30 +02:00
.gitignore wip skeletons 2022-11-27 22:57:39 +01:00
build.gradle.kts General: Fix root/Shizuku access hanging after returning to the app (#2453) 2026-06-04 11:34:53 +02:00
consumer-rules.pro General: Obfuscate the gplay flavor with R8 2026-09-05 15:24:36 +02:00