Show log messages on screen for Android application

后端 未结 4 1412
难免孤独
难免孤独 2020-12-18 20:24

Is it possible to display the log messages (which I print using android.util.Log) on screen in an Android application?

Is there any other better method

4条回答
  •  情话喂你
    2020-12-18 21:03

    Like others have suggested, you can use log cat. If you are using the emulator or debugging a device, you can use adb logcat to view the messages. In Eclipse debug perspective, there is a window that will do that for you.

    Another way, without a debugger attached, is to use the CatLog - Logcat Reader application.

提交回复
热议问题