【转】Android Studio -修改LogCat的颜色*美爆了*

时间:2023-03-09 17:27:53
【转】Android Studio -修改LogCat的颜色*美爆了*

原文网址:http://www.2cto.com/kf/201505/400357.html

一、 先看效果

【转】Android Studio -修改LogCat的颜色*美爆了*

二、设置

File->Settings 或Ctrl + Alt +S 找到 Editor -> Colors &Fonts -> Android Logcat 或在上面的搜索框中输入Logcat 点中Verbose , Info, Debug等选项,然后在后面将Use Inberited attributes 去掉勾选 再将 Foreground 前的复选框选上,就可以双击后面的框框去选择颜色了 Apply–>OK

【转】Android Studio -修改LogCat的颜色*美爆了*

三、对应色值

Log级别 色值
VERBOSE BBBBBB
DEBUG 0070BB
INFO 48BB31
WARN BBBB23
ERROR FF0006
ASSERT 8F0005

【转】Android Studio -修改LogCat的颜色*美爆了*