Colored logcat in android studio by colorpid

43,724

Solution 1

You can customize colors at Preferences – Editor – Color Scheme – Android Logcat.

Android logcat color editor

Here is Darcula theme, suggested by Matouš Skála:

Darcula colors:

Debug  : 6897BB
Info   : 6A8759
Warn   : BBB529
Error  : FF6B68
Assert : 9876AA

Darcula theme

Only show logcat from selected process is supported by default feature at AndroidStudio. If you are not satisfied with current customizations you need to continue to use your favorite shell with JakeWharton srcipt as for now.

Solution 2

As of Android Studio 1.1.0 the Preferences menu was not visible in the menu bar (Atleast in Ubuntu). So I am posting a new answer that might help others:

Goto FileSettings or press Ctrl+Alt+S this will open the Settings dialog (see screenshot)

Now under IDE Settings navigate to EditorColors & FontsAndroid Logcat you can customize the colors of your choice.

NOTE: make sure you un-check the Inherit Attributes From: checkbox in order to edit the scheme.

Settings Dialog

Solution 3

If you already use Solarized Dark elsewhere, try these with Darcula:

Verbose   657B83
Debug     93A1A1
Info      22AAAA
Warning   B58900
Error     CB4B16
Assert    6C71C4

Preview of Solarized color scheme on background of dark grey.

Solution 4

You can download this files filesCustomAndroidStudio and copy in

Mac: /Users/.../Library/Preferences/AndroidStudioXX.XX/ Windows: C:\Users....AndroidStudioXX.XX\config\

Then go to logcat in settings and choose the file.

Share:
43,724

Related videos on Youtube

deadfish
Author by

deadfish

Updated on July 08, 2022

Comments

  • deadfish
    deadfish 4 months

    according to this link github colored logcat I am looking for any solution how to use it in android studio/intellij. Is there in android studio any option to modify calling adb logcat? Here is the example how it works. enter image description here

  • eliocs
    eliocs about 8 years
    this little details increase productivity so much, google should add this detail as a default.
  • Sathesh
    Sathesh about 8 years
    I was wondering eclipse ADT was having a better Logcat display than IntelliJ, but Wow! after I applied custom colors it even looks better than the Eclipse Logcat. Thanks for this info. :-)
  • zeeshan
    zeeshan almost 8 years
    I was using Android Device Monitor just because of the colors. Now I can stay inside Android Studio. Thanks for this answer, now life is a little better.
  • Defuera
    Defuera over 7 years
    Here are the colors from the middle screenshot: assert #AE92B0 error #F8837F warn #C6C246 info #759769 debug #8FB8D0
  • Maurice Gavin over 7 years
    Colours from bottom screenshot - Debug=#54C1E9, Info=#8CD10D, Warn=#FAC848, Error=#F95C5A, Assert=#B87BD5. Note that if you want to keep the rest of your IDE with a white background you should modify a light (e.g. Default) theme and set the background for the Android Logcat settings (Background=#393939).
  • nyxee
    nyxee almost 6 years
    Very helpful. For Intellij IDEA,go to File->Settings->Editor->Colors & Fonts->Android Logcat.
  • Jackl over 5 years
    Requested as new default in Android Issue Tracker issuetracker.google.com/issues/37898663

Related