android|android studio怎么自定义logcat提示信息

进行点击android studio菜单中的file的选项之后,弹出了下拉菜单中进行选择为“settings”的选项。
android|android studio怎么自定义logcat提示信息
文章图片
【android|android studio怎么自定义logcat提示信息】进入到了settings的选项框中,进行选中列表中的editor的选项。
android|android studio怎么自定义logcat提示信息
文章图片
进行点击editor的会展开,进行点击android logcat的选项。
android|android studio怎么自定义logcat提示信息
文章图片
由于默认的设置是不能修改的所以需要自己进行创建,进行点击save as的选项,需要输入文件名,名字可以随意去
android|android studio怎么自定义logcat提示信息
文章图片
新建的android logcat还是不能直接修改,把use inherited attribute的沟去掉。
android|android studio怎么自定义logcat提示信息
文章图片
这些设置主要进行设置颜色的选项,进行点击颜色按钮。
android|android studio怎么自定义logcat提示信息
文章图片
弹出了select color的窗口之后,进行选择需要的颜色,然后进行点击choose。
android|android studio怎么自定义logcat提示信息
文章图片
可以看到assert在logcat预览中显示为深蓝的颜色。其它设置的设置也是类似。
android|android studio怎么自定义logcat提示信息
文章图片

    推荐阅读