Want to see pretty graphs? Log in now!
npm install socketlog
|1||downloads in the last week|
|4||downloads in the last month|
|Last Published By|
|Version||0.1.1 last updated 10 months ago|
What is it?
Socket.log is a [very] simple socket relay for console.log for use on legacy devices, often in obscure situations. The particular itch that needed scratching in this case was Android WebViews.
Note this was only ever built as a quick fix, so it's untested, etc etc.
$ sudo npm install -g socketlog
Should work on pretty much anything – will use WebSockets where available, and fall back to XMLHTTPRequest where it has to.
Start the server:
Run a console window in a browser, go to http://localhost:8088, and open the JS console (CMD+ALT+J in Chrome).
Using the IP address accessible to the logging device, add the following script tag to the head of the page under test:
Let the logging fun commence.