display two or more logcat filters at the same time in Android Studio

来源:互联网 发布:中建七局网络协同平台 编辑:程序博客网 时间:2024/05/29 03:10

up vote
down votefavorite

I have declared two LOG.i such as followings in my code:

Log.i("pen", pen.toString);Log.i("book", book.toString);

Then I added these two filters to my Logcat window (via Edit Filter Configuration):

Filter1 with 'LOG TAG' set to "pen" 

Filter2 with 'LOG TAG' set to "book"

I have no problem to see them each individually (by selecting them each in drop-down filter in logcat window).

Now What I need to know is How to display both filters at the same time?


answers:


just enter or paste something similar (pen|book) to the Search box on the main logcat window 
and do not forget to tick Regex box next to it.


From:https://stackoverflow.com/questions/33366558/how-to-display-two-or-more-logcat-filters-at-the-same-time-in-android-studio

阅读全文
0 0
原创粉丝点击