一、 先看效果

android studio 控制台输出个性设置

二、设置

  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

android studio 控制台输出个性设置

三、对应色值

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

android studio 控制台输出个性设置


相关文章:

  • 2022-01-13
  • 2021-11-15
  • 2021-11-15
  • 2021-06-29
  • 2021-07-04
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-16
  • 2021-07-31
  • 2021-12-29
  • 2022-12-23
  • 2021-10-23
  • 2021-12-24
相关资源
相似解决方案