feat(*): Enable console logging even in production so Jord can see logs easily

This commit is contained in:
2020-11-05 23:36:32 +00:00
parent c642d95335
commit c48edec643
+2 -2
View File
@@ -71,11 +71,11 @@ const logger = winston.createLogger({
// If we're not in production then log to the `console` with the format:
// `${info.level}: ${info.message} JSON.stringify({ ...rest }) `
//
if (process.env.NODE_ENV !== 'production') {
//if (process.env.NODE_ENV !== 'production') {
logger.add(new winston.transports.Console({
format: winston.format.simple(),
}));
}
//}
let playerQueue = [];
let pokemonName = '';