This commit is contained in:
Evgenii Abramov
2021-05-16 21:52:27 +03:00
parent bc000f717a
commit 3df4d02934

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 != undefined ? stack : ''}`;
return `${timestamp} ${level}: ${stack != undefined ? stack : message}`;
})
// prettyPrint()
),