Real device produce too many log

倾然丶 夕夏残阳落幕 提交于 2019-12-02 01:27:36

Just create a filter for your own application.

STEPS:

  1. Go in the DDMS perspective.
  2. In the logcat tab, click on the green + sign which wil bring up the following pop-up

  3. In the by Application Name: section, put in your root namespace. For example: com.abc.testapp

Alternative method: If you haven't tried the earlier option, while still in the All Message section of logcat, find the stacktrace that is for your application -> Right Click -> Filter similar message. Clear out everything other than the by Application Name and you will get the same result.

Now you will have two entries in your logcat tab. One for all message and one for your application.

In eclipse, if you have the DDMS perspective open, you can select the application from the filters. If there is none create, you can create your own filters.

Check this out for more information.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!