mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
wip api-v3: adds some comments and more eslint rules
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user