I need to log a huge number of events when running a .js file, and so far I've tried to use console.log(data)
to record all the data, as then I can save from the browser log (I'm using Chrome).
However, I've run into the problem that there are so many log messages, the browser only holds the tail ones, whereas I need all of them.
I was wondering if I could either make Google Chrome store more log messages, or store the log as a file on the computer? I need to be able to append as I do not know when the logs will stop, and I would prefer not to have to send data through a server to have a client receive and store the log locally.