mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixing logging error
This commit is contained in:
parent
9cbcedea0a
commit
ea29f51d10
6
package-lock.json
generated
6
package-lock.json
generated
@ -18658,9 +18658,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typeconfig": {
|
"typeconfig": {
|
||||||
"version": "2.0.9",
|
"version": "2.0.10",
|
||||||
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.9.tgz",
|
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.10.tgz",
|
||||||
"integrity": "sha512-ORNNNaYqPpPzxMJLTTQ1okjtp120BPUmBFxFN6gE/a4KzmeT8VcBd7ptFxv+/FsnnOogzd4uGg5jaGF+SWG4hQ==",
|
"integrity": "sha512-Vdub3JophfvLdr53V62ODuiFr3NaigUQnzR/PIo9ZtVzO9bbjOZ64HqSZ3En3OMJapHU75FeShXWZco5hfiNbg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"optimist": "0.6.1"
|
"optimist": "0.6.1"
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ const forcedDebug = process.env.NODE_ENV === 'debug';
|
|||||||
export const winstonSettings = {
|
export const winstonSettings = {
|
||||||
transports: [
|
transports: [
|
||||||
new winston.transports.Console(<any>{
|
new winston.transports.Console(<any>{
|
||||||
level: forcedDebug === true ? ServerConfig.LogLevel.silly : ServerConfig.LogLevel[Config.Server.Log.level],
|
level: forcedDebug === true ? ServerConfig.LogLevel[ServerConfig.LogLevel.silly] : ServerConfig.LogLevel[Config.Server.Log.level],
|
||||||
handleExceptions: true,
|
handleExceptions: true,
|
||||||
json: false,
|
json: false,
|
||||||
colorize: true,
|
colorize: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user