adb logcat过滤某个日志
用代码实现:
Log.d("MediaBrowserActivity","xxxxxx");
adb logcat实现
adb logcat -s TAG:level //解释
adb logcat -s MediaBrowserActivity:D
adb logcat过滤多个日志
adb logcat -s "MediaBrowserActivity:D | MediaBrowserBarFragment:D"
用代码实现:
Log.d("MediaBrowserActivity","xxxxxx");
adb logcat实现
adb logcat -s TAG:level //解释
adb logcat -s MediaBrowserActivity:D
adb logcat -s "MediaBrowserActivity:D | MediaBrowserBarFragment:D"