wip api-v3: adds some comments and more eslint rules

This commit is contained in:
Matteo Pagliazzi
2015-11-03 18:08:14 +01:00
parent 5e73bc9f1c
commit 182e4bff6f
2 changed files with 16 additions and 3 deletions

View File

@@ -12,7 +12,8 @@ let isProd = nconf.get('NODE_ENV') === 'production';
let logger = new winston.Logger();
if (isProd) {
// TODO production logging
// TODO production logging, use loggly
// log errors to console too
} else {
logger
.add(winston.transports.Console);