开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜