Welcome to Java.  You *must* do the check yourself, or else you still end up
executing all of the code to build the string to log which is a substantial
amount of overhead.  We don't want to encourage people to litter their code
with a bunch of log statements building these strings, slowing their app
down, and being hidden because they aren't being shown.

On Fri, Jun 3, 2011 at 4:29 PM, Brill Pappin <[email protected]> wrote:

> It doesn't strike you as odd that the perfectly good logging class in
> Android requires you to invent your own implementation?
>
>
>  --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to