How to save LogCat contents to file?

前端 未结 10 1296
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 06:57

I\'ve added debug strings (using Log.d()) and want to see them in context from the contents of logCat. The \"save\" icon for LogCat has a \"Save selected items\" hint, but t

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 07:17

    You are not getting the answer you are looking for, are you.

    Two ways to do what you want:

    1. Right-click in the logcat messages window, choose select all. Then your save will be all logcat messages in that window (including the ones scrolled out of view).
    2. When focus is in logcat messages window, type control-A, this will select all messages. Then save etc. etc.

提交回复
热议问题