BadCash BadCash - 1 year ago 118
Android Question displays as Log.e() in Android Studio 2.0?

I have styled my LogCat levels using Preferences -> Editor -> Colors & fonts -> Android Logcat, but all of a sudden when I do
it displays with the style set for the
level, not
like it used to be?

Answer Source

On API 23, no longer creates a log of ASSERT level, but rather ERROR level.

However, one can still get the style for the ASSERT level by using

Log.println(Log.ASSERT, "TAG", "Message");

on API 23.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download