mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 10:25:42 +01: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 New Issue
Block a user