But I wanted to run something outside the eclipse.

Something like adb logcat | grep -i 'packagename' or adb logcat | grep
-i companyname from command line.


-Subodh

On Tue, Apr 30, 2013 at 2:04 PM, lbendlin <[email protected]> wrote:
> Adding the company name is not necessary as the Eclipse debug widget already
> gives you the option to filter by your app.
>
>
> 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 [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
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to