mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-08 09:01:00 +03:00
c
This commit is contained in:
2
app.js
2
app.js
@@ -34,7 +34,7 @@ global.logger = createLogger({
|
|||||||
timestamp(),
|
timestamp(),
|
||||||
printf(({level, message, timestamp, stack}) => {
|
printf(({level, message, timestamp, stack}) => {
|
||||||
//console.dir(a, {depth: 9});
|
//console.dir(a, {depth: 9});
|
||||||
return `${timestamp} ${level}: ${message} \n ${stack != undefined ? stack : ''}`;
|
return `${timestamp} ${level}: ${stack != undefined ? stack : message}`;
|
||||||
})
|
})
|
||||||
// prettyPrint()
|
// prettyPrint()
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user