This commit is contained in:
Evgenii Abramov
2021-05-16 21:49:42 +03:00
parent ab64a6a94d
commit bc000f717a

2
app.js
View File

@@ -34,7 +34,7 @@ global.logger = createLogger({
timestamp(),
printf(({level, message, timestamp, stack}) => {
//console.dir(a, {depth: 9});
return `${timestamp} ${level}: ${message} \n ${stack != undefinde ? stack : ''}`;
return `${timestamp} ${level}: ${message} \n ${stack != undefined ? stack : ''}`;
})
// prettyPrint()
),