Skip to content

Instantly share code, notes, and snippets.

@jimmyFlash
Created July 10, 2020 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmyFlash/f4d4514411a28a11ebabf708f0cbb889 to your computer and use it in GitHub Desktop.
Save jimmyFlash/f4d4514411a28a11ebabf708f0cbb889 to your computer and use it in GitHub Desktop.
Removing log calls using proguard / R8 rule
# 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