Android Studio Logcat colors best practice

时光总嘲笑我的痴心妄想 提交于 2019-12-04 07:35:15

问题


It is really hard to follow up Android logcat output all in a same color. is there any best practice for changing different logs color?


回答1:


I know that using solid black color logcat in Android Studio is awful!!!

Here is my best practice colour codes that you can use for changing the face of you logcat in Android Studio to make it more useful.

Go to Android Studio Preferences and search for logcat and 'Save As' your own scheme:

Assert: 9C27B0

Debug: 2196F3

Error: F44336

Info: 4CAF50

Warning: FFC107

All colors are picked carefully from google Material Design palette and can help you with more readability in both Default and Darcula theme:

sharing is caring :)




回答2:


In addition to @Monsen Mirhoseine's answer, I exported his scheme to easier import. You can do it by downloading this file, and then selecting to avoid typing every color.

                        




回答3:


You can download this files filesCustomAndroid and copy in

Mac: /Users/.../Library/Preferences/AndroidStudioXX.XX/ Windows: C:\Users....AndroidStudioXX.XX\config\

Then go to logcat in settings and choose the file.



来源:https://stackoverflow.com/questions/39993867/android-studio-logcat-colors-best-practice

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