A simple HTTP remote logging utility for the mobile web.
./server.js to run the logging server. It defaults to port 8080,
but to use on some mobile phones, the port should match whichever port
you're using for the main web server.
To change ports, use:
./server.js --port <port number>.
On the client side, include the
lumberjack.js file and configure the
Lumberjack server url:
Lumberjack.url = 'http://localhost:8080'
From this point on, the server will be pinged according to the console method called, eg:
console.warn('Something went wrong');
... will generate a call to the following URL:
The server's console will output the warning with a yellow message.