How to remove all debug logging calls before building the release version of an Android app?

According to Google, I must “deactivate any calls to Log methods in the source code” before publishing my Android app to Google Play. Extract from section 3 of the publication checklist: Make sure you deactivate logging and disable the debugging option before you build your application for release. You can deactivate logging by removing calls … Read more