Stream android logcat output to an sd card

后端 未结 4 708
孤街浪徒
孤街浪徒 2020-12-18 04:16

I want to achieve the following but so far, no luck

  • Open a file in the SD Card when the android application first started.
  • Stream the logcat output to
4条回答
  •  醉话见心
    2020-12-18 04:27

    Try manually setting a filter as described here: http://developer.android.com/guide/developing/debugging/debugging-log.html#filteringOutput

    Something like:

    logcat ActivityManager:I MyApp:V *:S
    

    If you replace "MyApp" with the log tags that you are using, that should show you all info (and greater) logs from ActivityManager, and all verbose (and greater) logs from your app.

提交回复
热议问题