mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33:45 +00:00
feat(*): Enable console logging even in production so Jord can see logs easily
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user