mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-09 01:21:01 +03:00
c
This commit is contained in:
2
app.js
2
app.js
@@ -37,7 +37,7 @@ global.logger = createLogger({
|
|||||||
return `${timestamp} ${level}: ${message}`;
|
return `${timestamp} ${level}: ${message}`;
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
transports: [NullTransport],
|
transports: [new NullTransport()],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (clArgv.indexOf('--log-info') > -1) global.logger.add(new transports.Console());
|
if (clArgv.indexOf('--log-info') > -1) global.logger.add(new transports.Console());
|
||||||
|
Reference in New Issue
Block a user