我的应用程序使用的外部库之一在其 logcat 标记中有空格:
Log.d("Some External Library", "Debug Message");
如何在 logcat 命令中编写 filter-spec 来处理空格?eclipse 中的 Logcat 能够过滤它,但我更喜欢命令行。
我尝试了以下方法,但它们不起作用:
adb logcat -s "Some External Library"
adb logcat -s Some\ External\ Library
adb logcat -s Some External Library