Print the logs in the console to local file while using Eclipse

在使用eclipse時,經常會遇到控制檯裏的日誌會有一部分被刷掉,只剩最後一些log。如果想看完整的log,可以在『Run configuration』裏面配置:
Run configuration —> Common —> Output File: C:\dev\fullLogs.txt

同樣在debug時,也會輸出到fullLogs.txt,無需重複配置。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章