Save automatically console to file?
-
- Posts: 36
- Joined: May 30th, 2017, 9:48 pm
Save automatically console to file?
How i can save all console log messages *automatically* to file in Firefox Quantum and 56.x?
-
- Posts: 6436
- Joined: February 3rd, 2009, 6:29 pm
Re: Save automatically console to file?
Maybe use dump() instead of console.log(), then redirect to a file.
To see the dump output you have to enable it by setting the browser.dom.window.dump.enabled pref to true.
Dump
http://developer.mozilla.org/docs/Web/API/Window/dump
HTTP logging
http://developer.mozilla.org/docs/Mozil ... TP_logging
To see the dump output you have to enable it by setting the browser.dom.window.dump.enabled pref to true.
Dump
http://developer.mozilla.org/docs/Web/API/Window/dump
HTTP logging
http://developer.mozilla.org/docs/Mozil ... TP_logging