How to save logs in a Processing web app using processing.js?

You have many options, but a common and we’ll-documented one with some good tutorials is to use socket.io and a server side component for logging.