How to show only message from log (hide time ,pid etc.) in Android Studio

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 10:44:02

问题


I haven't use Android Studio (IntelliJ IDEA) before the logcat that show in Android Studio also show time and pid etc. on the left side of logcat. I want to hide those stuff (time and pid) I wanna see only message form Log.

Is there any suggestion?


回答1:


Now on Android Studio you can config the logcat




回答2:


You can use PID Cat from Jake Wharton.

pidcat.py com.health.main




回答3:


Batter You can use monitor. . set the path in environment variable C:\Program Files\Android\android-sdk\tools;
.
and type monitor
.
and you can filter any type of messages however you want. :)




回答4:


I'm stuck on the same problem. As you pointed out this is a missing feature, I hope that it will be added in the future.

For now, I've mitigated the problem by enabling the "Use Soft Wraps" option that allow multiline logging in order to avoid the horizontal scrolling.

UPDATE

As reported in the official issues tracker, there should be more formatting options starting from Android Studio 1.4 beta 3

Good news, this should be out now with 1.4 beta 3 which we just released today.



来源:https://stackoverflow.com/questions/18125257/how-to-show-only-message-from-log-hide-time-pid-etc-in-android-studio

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