Is there a way to fire an event on every console.log()
which will include either the parameters passed in the log function or the data returned by it? What I want to do is track every console.log
execution and pass the information in a div
of the page.
I don't mind whether it's a JavaScript or a JQuery answer since I'm using both in this project.