• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how to enable logs

Like in your own code?

To do that, in your program, you import android.util.Log and then call 'Log.x', where x can be i (info), e (error), d (debug), etc. Generally, the arguments are then a debug tag (to be able to identify it amongst the other logs) and the actual log message.

My example:
final string DEBUG_TAG = "MyAwesomeApp"
Log.i(DEBUG_TAG, "This is my message");
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones