On Tuesday, April 30, 2013 2:02:41 PM UTC-4, Subodh Nijsure wrote:
I am wondering if there any good practices that people have come up--
when it comes to defining TAG prefix for large android applications.
So one can easily filter your application logs.
Currently all my code uses:
final String TAG = MyClassName.class.getSimpleName();
We have just recently moved to adding our company prefix to the TAG so
we can only see log messages to our own application.
i.e.
final String TAG = GlobalConst.companyName + MyClassName.class.getSimpleName();
Are there any other techniques people have used to define TAG for log.X()?
-Subodh
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment