我观察到当我使用带有ADT for Android的Logcat时,我也会从许多其他应用程序中获取消息.有没有办法过滤这个,只显示来自我自己的应用程序的消息.
public static final TAG = "Legendry Eagle";
Run Code Online (Sandbox Code Playgroud)
问题:我想查看"Legendry Eagle"命令行的日志.
我试过了:
adb logcat -s "Legendry Eagle"
adb logcat -s <Legendry Eagle>
Run Code Online (Sandbox Code Playgroud)
但它仍然没有用.
在IntelliJ上,我正在尝试读取logcat以寻找错误.
问题是所有应用程序的日志都出现在"Android"窗口中.
如何只显示相关的日志?
我不是在寻找标签,因为我想查看Exception throws,来自JNI的Segfaults等.
谢谢 !