Android Studio Logcat是最佳实践 [英] Android Studio Logcat colors best practice

查看:229
本文介绍了Android Studio Logcat是最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以相同的颜色跟踪Android logcat输出真的很难。
是否有更改不同日志颜色的最佳做法?

It is really hard to follow up Android logcat output all in a same color. is there any best practice for changing different logs color?

推荐答案

我知道在Android中使用纯黑色logcat Studio很糟糕!!!

I know that using solid black color logcat in Android Studio is awful!!!

这是我的最佳练习颜色代码,您可以使用它来更改Android Studio中的logcat,使其更有用。

Here is my best practice colour codes that you can use for changing the face of you logcat in Android Studio to make it more useful.

转到Android Studio首选项并搜索logcat并另存为您自己的方案:

Go to Android Studio Preferences and search for logcat and 'Save As' your own scheme:

断言:9C27B0

调试:2196F3

错误:F44336

信息:4CAF50

警告:FFC107

所有颜色都是从谷歌 Material Design 调色板,可以帮助您提高默认 Darcula 主题:

All colors are picked carefully from google Material Design palette and can help you with more readability in both Default and Darcula theme:

分享是关怀:)

这篇关于Android Studio Logcat是最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆