简体   繁体   中英

How to filter the logcat using the GUI to show multiple filters?[Android Studio]

I want to show all the log cat that I wrote in my code

I have several activities , and every one has a different tag.

In the logcat I just want to show these logs I wrote in my code in these specific activities .

Any idea?

在 logcat 窗口中选中“Regex”复选框,然后使用“tag1|tag2”作为过滤器。

You can create Log Cat Filters for each activity

Android Monitor -> Edit Filter Configuration (select from right top dropdown)

enter your tag in Log Tag and press Ok Then you can select any filter to debug as needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM