Android设备监视器: what is the syntax to filter rows by multiple tags?

标签 android android-studio logcat

在“Android设备监视器”中过滤LogCat时,多个标签应该使用什么语法?例如,我想查看标记为“foo”或“bar”的所有 logcat 事件,我尝试了 tag:foo | tag:bar 但它不起作用

enter image description here

最佳答案

您可以使用标签~:foo|bar。引用:https://developer.android.com/studio/debug/logcat#negation-and-regex使用正则表达式进行此类查询。

关于Android设备监视器: what is the syntax to filter rows by multiple tags?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72570243/

相关文章:

android - Facebook 共享对话框中的错误

java - 如何防止API链接被捕获?

android - ListView 中的动画列表项

java - Android 登录 Activity 后重定向

android-studio - Android Studio - 查看布局的文本和设计预览

java - 打印枚举的名称

java - 尝试在模拟器中运行时应用程序崩溃

java - Activity_main、菜单、action_setting 无法解析或不是字段

java - 安卓ListView报错

android - 如何跳过 "This project is using version xxx of android gradle plugin, which is incompatible with this version of android studio"对话框?