Export Javascript Console log from Google Chrome

前端 未结 4 1436
灰色年华
灰色年华 2020-12-10 05:22

Is there any way to export messages logged to the javascript console in Google Chrome?

If not, can anyone suggest a good way to diagnose javascript problems on a cli

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-10 06:09

    There is open-source tool which allows you to save all console.log output in a file on your server - JS LogFlush (plug!).

    JS LogFlush is an integrated JavaScript logging solution which include:

    • cross-browser UI-less replacement of console.log - on client side.
    • log storage system - on server side.

    Demo

提交回复
热议问题