参考  https://blog.csdn.net/taanng/article/details/42341731

android studio -> logcat -> 右侧edit Filter Configuration

android studio logcat过滤多个tag

 

设置log Tag 以竖线| 来区分tag名称即可。然后选择这个filter Name即可。Regex 正则打勾

android studio logcat过滤多个tag

 

结果展示:

把MyService|MyService1 都过滤出来

android studio logcat过滤多个tag

 

相关文章: