DEV Community

Cover image for Color-coding Android Studio’s Logcat
Muhamad Wahyudin
Muhamad Wahyudin

Posted on

Color-coding Android Studio’s Logcat

Skimming logcat on a freshly installed android studio might lead to eyesore, just look at this…

Android Studio default Logcat color

Android Studio default Logcat color

The Fix

The fix is rather easy, we just need to color-code the logcat based on the priority. First, open Settings, File > Settings or (ctrl + alt + s), then search for logcat (see red box on the left), go to Android Logcat section under Color Scheme, it should look like this…

Logcat’s Color Scheme setting

Logcat’s Color Scheme setting

You have to untick Inherit values from (bottom right red box) to be able to change the foreground color. Repeat that for every priority / tag (Assert, Debug, Error, etc). You can color it as you want, but here’s the recommendation:

  • Assert: 9C27B0
  • Debug: 2196F3
  • Error: F44336
  • Info: 4CAF50
  • Warning: FFC107

After recolor

After that, click OK and voila! now it’s more pleasant to the eye and you can skim the logcat more easily…

Enjoy!

Source: SO

Originally Posted on Medium

Top comments (0)