Can I use special colors with logcat

I want to write some information to logcat but I want to specify the color of these texts , is it possible to do that ?

Upvotes: 0

Views: 508

Answers (2)

RedChris
RedChris

Reputation: 523

If your using Android Studio, you can change the colours, by clicking, Settings - Editor - Colours & Font - Android Logcat. You can then choose custom colours, for the Logcat level (Error, warning ...)

Upvotes: 0

canova
canova

Reputation: 3975

Window -> Preferences -> Android -> Logcat -> Colors

You can change some specific Logcat Message Colors from here (like Debug, Error messages).

If you want to use a Windows script, you can also check this link:

http://adrianvintu.com/blogengine/post/Colored-Logcat-Script-for-Windows.aspx

Upvotes: 1

Related Questions