The most efficient is to have a static final boolean SHOW_LOGS = {true|
false} somewhere, and check this every time you are going to call
Log.foo():
if (MyGlobals.SHOW_LOGS) Log.d("Me", "I am logging").
This allows all of the logging code to be stripped from the
executable.
On Mar 29, 5:27 am, "lruckhaber" <[EMAIL PROTECTED]> wrote:
> How can iam disable the Log outputs for the release-apk?
>
> lars
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---