I\'m trying to write handler for uncaught exceptions and browser warnings in Javascript. All errors and warnings should be sent to server for later review.
Handled e
In the same function that you are using to do console.log(), simply post the same message to a web service that you are recording the logs on.