mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-07 08:40:29 +03:00
c
This commit is contained in:
10
app.js
10
app.js
@@ -32,11 +32,11 @@ global.logger = createLogger({
|
||||
format: combine(
|
||||
errors({stack: true}),
|
||||
timestamp(),
|
||||
printf((a/* {level, message, timestamp, stack} */) => {
|
||||
// return `${timestamp} ${level}: ${message} ${stack}`;
|
||||
console.dir(a, {depth: 9});
|
||||
return `${a}`;
|
||||
})
|
||||
// printf((a/* {level, message, timestamp, stack} */) => {
|
||||
// //console.dir(a, {depth: 9});
|
||||
// return `${timestamp} ${level}: ${message}`;
|
||||
// })
|
||||
prettyPrint()
|
||||
),
|
||||
transports: [
|
||||
new transports.Console({
|
||||
|
Reference in New Issue
Block a user