mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-11 22:28:50 +00:00
Improve logging.
This commit is contained in:
+2
-2
@@ -178,8 +178,8 @@ class Controller {
|
||||
|
||||
if (type === 'message') {
|
||||
logger.debug(
|
||||
`Received Zigbee message from '${name}' of type '${data.type}' ` +
|
||||
`with data '${JSON.stringify(data.data)}' from endpoint ${data.endpoint.ID}` +
|
||||
`Received Zigbee message from '${name}', type '${data.type}', cluster '${data.cluster}' ` +
|
||||
`, data '${JSON.stringify(data.data)}' from endpoint ${data.endpoint.ID}` +
|
||||
(data.hasOwnProperty('groupID') ? ` with groupID ${data.groupID}` : ``)
|
||||
);
|
||||
} else if (type === 'deviceJoined') {
|
||||
|
||||
Reference in New Issue
Block a user