Android Studio -修改LogCat的顏色*美爆了*

1、 先看效果

這裏寫圖片描述

2、設置

  1. File->Settings 或Ctrl + Alt +S
  2. 找到 Editor -> Colors &Fonts -> Android Logcat 或在上面的搜索框中輸入Logcat
  3. 點中Verbose , Info, Debug等選項,而後在後面將Use Inberited attributes 去掉勾選
  4. 再將 Foreground 前的複選框選上,就能夠雙擊後面的框框去選擇顏色了
  5. Apply–>OK

這裏寫圖片描述

3、對應色值

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

這裏寫圖片描述

您尚未登陸,請[登陸][註冊]spa

相關文章
相關標籤/搜索