Authored by 李奇

logger time

... ... @@ -161,14 +161,20 @@ if (isProduction) {
name: 'info',
level: 'info',
filename: '/Data/logs/yohoblk-wap/info.log',
maxFiles: 7
maxFiles: 7,
timestamp() {
return new Date().toString();
}
},
errorFile: {
name: 'error',
level: 'error',
filename: '/Data/logs/yohoblk-wap/error.log',
handleExceptions: true,
maxFiles: 7
maxFiles: 7,
timestamp() {
return new Date().toString();
}
},
console: {
close: true,
... ...