it would be nice to -

#ifdef DEBUG
#define Log.i()
...

etc, but OTOH, preprocessors are very easily abusable.


>On Android I'd say java or javac is basically a preprocessor for
>dalvik.
>
>On Dec 10, 4:39 pm, Jason Proctor <[email protected]>
>wrote:
>>  >On a similar note, what do yall use for your log tags?  I go back and
>>  >forth between static final Strings and this.getClass().getCanonicalName
>>  >().  The CONSTANT strings annoy me, since I'm always adding and
>>  >removing them to reduce my compiler warnings for unused variables, as
>>  >I add and remove logging.
>>
>>  i go back and forth between wishing Java had a preprocessor, and
>>  being relieved that it doesn't....
>>
>>  --
>>  jason.vp.engineering.particle
>
>--
>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


-- 
jason.vp.engineering.particle

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