如何的IntelliJ的logcat中只过滤我的应用程序日志? [英] How to filter only my application log in IntelliJ's logcat?

查看:3395
本文介绍了如何的IntelliJ的logcat中只过滤我的应用程序日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在的IntelliJ,我想要阅读的logcat寻求错误。

On IntelliJ, i'm trying to read the logcat for seeking errors.

现在的问题是,所有的应用程序的日志是present在Android的窗口。

The problem is that all the applications' log are present in the 'Android' Window.

如何只显示日志中有关?

How to only display the log that is relevant ?

我不是在寻找标签,因为我要查看异常抛出,段错误的JNI等。

I'm not looking for tags since i want to view Exception throws, Segfaults from JNI, etc.

谢谢!

推荐答案

您可以通过进程ID(PID)过滤器:

You can filter by the process ID (PID):

美中不足的是,PID的变化,你将有每一个应用程序重新启动后调整滤波器。

The only drawback is that PID changes and you will have to adjust the filter after every app restart.

这篇关于如何的IntelliJ的logcat中只过滤我的应用程序日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆