Tuesday, 2 May 2017

Enabling console.log in production mode in node.js

I have over-ridden my console.log to create a log file of everything passed to it. This works great when in dev mode but the log files are empty when in production mode, presumably because console.log doesn't get called?

Anyone know how to enable it so it gets called in production mode?

Thanks



via moonraker

No comments:

Post a Comment