Android logcat不';t识别--regex选项
根据文件 logcat应支持以下选项:Android logcat不';t识别--regex选项,android,regex,android-logcat,Android,Regex,Android Logcat,根据文件 logcat应支持以下选项: -e <expr>, --regex=<expr> Only print lines where the log message matches <expr> where <expr> is a regular expression. 我遗漏了什么?adb logcat正则表达式在标记上不起作用。所以检查单词“词汇表”是一个标签。 如果您想使用标签的用途进行搜索: adb logcat -s TAG.
-e <expr>, --regex=<expr> Only print lines where the log message matches <expr> where <expr> is a regular expression.
我遗漏了什么?adb logcat正则表达式在标记上不起作用。所以检查单词“词汇表”是一个标签。 如果您想使用标签的用途进行搜索:
adb logcat -s TAG.
这是因为您的设备不支持它 请运行以下命令:
adb shell logcat --help
请搜索以下内容:
-e <expr>, --regex=<expr>
Only print lines where the log message matches <expr>
where <expr> is a regular expression
-e <expr>, --regex=<expr>
Only print lines where the log message matches <expr>
where <expr> is a regular expression
adb logcat | grep -e 'xxx'