mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 09:25:36 +00:00
Tweaked logging levels.
This commit is contained in:
parent
a2f11b7687
commit
6c20b28661
|
@ -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