Skip to content

Commit

Permalink
feature: drop diagnostic logs from production code (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Dec 22, 2023
1 parent 1ba9940 commit cca93c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
-keepclasseswithmembernames public enum com.hcaptcha.sdk.** {
@com.fasterxml.jackson.annotation.JsonValue *;
}

# Remove debug logging from the production code
-assumenosideeffects class com.hcaptcha.sdk.HCaptchaLog {
*;
}

0 comments on commit cca93c1

Please sign in to comment.