Tutorial :Is there a way to set DEBUG for all tags in Android's ADB?


I know I can set DEBUG in Android's ADB by typing:

adb shell setprop log.tag.MyTag DEBUG

What I'm wondering is if there is a way to set debug for all my classes that do logging instead of having to type the above multiple times:

adb shell setprop log.tag.MyTag1 DEBUG
adb shell setprop log.tag.MyTag2 DEBUG
adb shell setprop log.tag.MyTag3 DEBUG
adb shell setprop log.tag.MyTag4 DEBUG

Something like:

adb shell setprop log.tag.* DEBUG

I'm using Eclipse for developing, but I'm currently setting the DEBUG through the command line adb.

Thanks, Kevin


Well, I don't see the purpose to use a per class tagging in debug.

Instead you should use per Application tagging.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »