Reduce logging in the release build (#44)

Verbose logging are now disabled in the release build.
With this change, we reinterpret the last argument passed to `logTransaction` as `skipPost`, and classify logs satisfying `skipPost` or `shouldSkipUid` as verbose.

Co-authored-by: JingMatrix <jingmatrix@gmail.com>
This commit is contained in:
Qing
2025-12-03 23:50:12 +01:00
committed by GitHub
co-authored by JingMatrix
parent eeefdc48eb
commit 31a0906c02
5 changed files with 15 additions and 5 deletions
+1
View File
@@ -56,6 +56,7 @@ android {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
buildFeatures { buildConfig = true }
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")