swot icon indicating copy to clipboard operation
swot copied to clipboard

Implement better logging

Open lukas-shawford opened this issue 10 years ago • 0 comments

Need to add error logging to the app. Errors (and possibly all requests) should be persisted to the database on the live site, whereas in dev, they should just be dumped to the console. Additional metadata such as current user and quiz/topic should get logged along with the error wherever possible.

As for choice of logging framework, it will probably either be winston.js or bunyan. here are some resources that may be useful in making the decision:

lukas-shawford avatar Jul 27 '14 00:07 lukas-shawford