Can't get Debug, a detailed log about Nougat

My device: Sony Xperia XA1 Nougat (7.0)

I want to show the log in Android Monitor as follows:

public static final String TAG = MainActivity.class.getSimpleName(); public static final boolean DEBUG = true; if(DEBUG) Log.d(TAG, "onResume()"); 

But .. When I open the monitor window, I do not see this log, even the log level is Verbose / Debug. I only see the I / W / E level on Android Monitor, and it always shows:

 I/art: Enter while loop... 

Is this a security issue?

Thank you very much!

+5
source share

Source: https://habr.com/ru/post/1268078/


All Articles