mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-07 08:40:29 +03:00
c
This commit is contained in:
2
app.js
2
app.js
@@ -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()
|
||||
),
|
||||
|
Reference in New Issue
Block a user