DEV Community

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

Posted on

1 1

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

Sentry blog image

The Visual Studio App Center’s retiring

But sadly….you’re not. See how to make the switch to Sentry for all your crash reporting needs.

Read more

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more