在Android Studio中使用快捷鍵Ctrl+Alt+S打開Settings面板,搜索logcat句旱,點(diǎn)擊Android Logcat項(xiàng),如圖
選擇Save As ,設(shè)置一個(gè)自己的風(fēng)格的名稱恃泪。
取消右側(cè)Use Inherited attributes的選擇,即可在上方設(shè)置自己想要的顏色犀斋。
小編還是很喜歡Eclipse中Log日志的色值贝乎,Copy如下:
類型色值
Assert ? ? #8F0005
Debug ? ? #0070BB
Error ? ? ? ?#FF0006
Info ? ? ? ? #48BB31
Verbose ? #BBBBBB
Warning ? #BBBB23
效果如下: