Skimming logcat on a freshly installed android studio might lead to eyesore, just look at this…
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…
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 that, click OK and voila! now it’s more pleasant to the eye and you can skim the logcat more easily…
Source: SO
Originally Posted on Medium
Top comments (0)