Tweaked logging levels.

This commit is contained in:
chris062689 2017-07-08 23:48:58 -04:00
parent a2f11b7687
commit 6c20b28661
1 changed files with 5 additions and 1 deletions

View File

@ -8,11 +8,15 @@ winston.emitErrs = true;
var logger = new winston.Logger({
transports: [
new winston.transports.Console({
level: 'silly',
level: 'warn',
handleExceptions: true,
humanReadableUnhandledException: true,
json: false,
colorize: true
}),
new winston.transports.File({
filename: 'discord.log',
level: 'silly'
})
],
handleExceptions: true,