Created
June 16, 2020 05:59
-
-
Save mengdd/3cf3622534e9bbf211d185652cd9bd66 to your computer and use it in GitHub Desktop.
Remove Logs in Production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# no logging in production | |
-assumenosideeffects class android.util.Log { | |
v(...); | |
d(...); | |
i(...); | |
w(...); | |
e(...); | |
println(...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment