Android Studio Logcat 颜色 [英] Android Studio Logcat colors
问题描述
跟踪 Android logcat 输出的所有颜色真的很难.
It is really hard to follow up Android logcat output all in a same color.
有没有办法改变日志颜色?
Is there any way to change the log colors?
推荐答案
我知道在 Android Studio 中使用纯黑色 logcat 很糟糕!!!
I know that using solid black color logcat in Android Studio is awful!!!
这是我的最佳实践颜色代码,您可以使用它来更改 Android Studio 中 logcat 的外观,使其更有用.
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.
转到 Android Studio 首选项并搜索 logcat 并另存为"您自己的方案:
Go to Android Studio Preferences and search for logcat and 'Save As' your own scheme:
断言:9C27B0
调试:2196F3
错误:F44336
信息:4CAF50
警告:FFC107
所有颜色均来自 google 材料设计 调色板,可以帮助您提高 默认 和 Darcula 主题的可读性:
All colors are picked carefully from google Material Design palette and can help you with more readability in both Default and Darcula theme:
分享就是关怀 :)
这篇关于Android Studio Logcat 颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!