You should make a static final boolean DEBUG = true variable in your source that is checked before calling any of the logs. Setting it to false will remove all of the code that checks it.
On Nov 13, 1:21 am, Derek <[EMAIL PROTECTED]> wrote: > Hi, > > In Android documentation > at:http://code.google.com/android/devel/sign-publish.html > > It is recommended to "Deactivate any calls to Log methods in the > source code" before publishing. I've hundreds Log.d(TAG, "some debug > message") in my application. Should I comment all ? Or is there any > option to desactivate all Log calls ? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

