conclusion first
Logcat The text of different loglevels can be configured in color. I usually use the default output color. I didn’t know it before, and I was stupid to study logcat output control...
set here
The effect after setting
If you are too lazy to set, just import the set file, here
https://github.com/woshiwzy/AndroidStudioLogcatDraculaMaterial/blob/master/Darcula%20Material.icls
file as pictured
Then apply after importing the file here
If you can’t download it because of your network, the content of the file is ready for you here, copy it and rename it to Darcula Material.icls, and then import it
<scheme name="Darcula Material" version="142" parent_scheme="Darcula">
<metaInfo>
<property name="created">2019-01-21T11:23:16</property>
<property name="ide">AndroidStudio</property>
<property name="ideVersion">3.3.0.20</property>
<property name="modified">2019-01-21T11:23:31</property>
<property name="originalScheme">Darcula Material</property>
</metaInfo>
<attributes>
<option name="LOGCAT_ASSERT_OUTPUT">
<value>
<option name="FOREGROUND" value="b87bd5" />
</value>
</option>
<option name="LOGCAT_DEBUG_OUTPUT">
<value>
<option name="FOREGROUND" value="2196f3" />
</value>
</option>
<option name="LOGCAT_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="f44336" />
</value>
</option>
<option name="LOGCAT_INFO_OUTPUT">
<value>
<option name="FOREGROUND" value="4caf50" />
</value>
</option>
<option name="LOGCAT_WARNING_OUTPUT">
<value>
<option name="FOREGROUND" value="ffc107" />
</value>
</option>
</attributes>
</scheme>
Principle: You will find that the imported files are placed here (different systems, and the version of Andriod Studio are not the same, of course, you can also copy it directly, restart Android Studio and it will take effect)
The specific location is subject to AndroidStudio and system version configuration, but importing is the easiest way.
Courtesy of the original source:
https://stackoverflow.com/questions/39993867/android-studio-logcat-colors
https://github.com/SmithWhiteFirst/AndroidStudioLogcatDraculaMaterial