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 DEBU开发者_如何学CG adb shell setprop log.tag.MyTag4 DEBUGSomething 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.
精彩评论