mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Merge branch 'master' into dev
This commit is contained in:
commit
18aee4803b
@ -30,9 +30,9 @@ const logger = new winston.Logger({
|
|||||||
new winston.transports.Console({
|
new winston.transports.Console({
|
||||||
timestamp: () => new Date().toLocaleString(),
|
timestamp: () => new Date().toLocaleString(),
|
||||||
formatter: (options) =>
|
formatter: (options) =>
|
||||||
winston.config.colorize(options.level, ` zigbee2mqtt:${options.level.toLowerCase()}`)
|
winston.config.colorize(options.level, ' zigbee2mqtt:' + options.level.toLowerCase()) + ' ' +
|
||||||
+ ` ${options.timestamp()} ${options.message || ''}`
|
options.timestamp() + ' ' + (options.message ? options.message : '') +
|
||||||
+ options.meta && Object.keys(options.meta).length ? '\n\t'+ JSON.stringify(options.meta) : '',
|
(options.meta && Object.keys(options.meta).length ? '\n\t'+ JSON.stringify(options.meta) : '' ),
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
2
npm-shrinkwrap.json
generated
2
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "zigbee2mqtt",
|
"name": "zigbee2mqtt",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "zigbee2mqtt",
|
"name": "zigbee2mqtt",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"description": "Zigbee to MQTT bridge using zigbee-shepherd",
|
"description": "Zigbee to MQTT bridge using zigbee-shepherd",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user