Tuesday 16 May 2017

(NodeJS) How to get logs and write them to a file?

I'm using nodeJS, and I want to make a function that gets all console logs (that use console.log(message)). How would I get all console logs and write them to a file (not overwrite)?



via WebCodingFun

No comments:

Post a Comment