mirror of
https://github.com/yuzu-emu/Command-fix
synced 2024-11-24 17:38:15 +00:00
Tweaked logging levels.
This commit is contained in:
parent
a2f11b7687
commit
6c20b28661
1 changed files with 5 additions and 1 deletions
|
@ -8,11 +8,15 @@ winston.emitErrs = true;
|
||||||
var logger = new winston.Logger({
|
var logger = new winston.Logger({
|
||||||
transports: [
|
transports: [
|
||||||
new winston.transports.Console({
|
new winston.transports.Console({
|
||||||
level: 'silly',
|
level: 'warn',
|
||||||
handleExceptions: true,
|
handleExceptions: true,
|
||||||
humanReadableUnhandledException: true,
|
humanReadableUnhandledException: true,
|
||||||
json: false,
|
json: false,
|
||||||
colorize: true
|
colorize: true
|
||||||
|
}),
|
||||||
|
new winston.transports.File({
|
||||||
|
filename: 'discord.log',
|
||||||
|
level: 'silly'
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
handleExceptions: true,
|
handleExceptions: true,
|
||||||
|
|
Loading…
Reference in a new issue