Android Studio Logcat colors best practice

前端 未结 3 1189
梦谈多话
梦谈多话 2021-01-30 02:16

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?

相关标签:
3条回答
  • 2021-01-30 02:57

    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 :)

    0 讨论(0)
  • 2021-01-30 02:59

    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.

    0 讨论(0)
  • 2021-01-30 03:03

    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.

                            

    0 讨论(0)
提交回复
热议问题