Replace console.log statements with debug statements
We're using console.log calls to debug server-side code. These calls should be made via a logging system that allows the developer to specify the log level (debug, error, warn, log, etc). We should be able to specify to our app via a config file which levels to output and where to stream output (file, stdout, etc)
Indeeed
Joshua Cano
On Jan 27, 2017, at 23:43, WCRest [email protected] wrote:
We're using console.log calls to debug server-side code. These calls should be made via a logging system that allows the developer to specify the log level (debug, error, warn, log, etc). We should be able to specify to our app via a config file which levels to output and where to stream output (file, stdout, etc)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm working on using winston for this.