Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asgothian committed Oct 20, 2024
1 parent 22c68cb commit b83b15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ class Zigbee extends utils.Adapter {
const meta = {device};

if (this.stController.checkDebugDevice(devId))
this.log.debug(`ELEVATED: Zigbee Event from Type ${type} device ${safeJsonStringify(entity)} incoming event: ${safeJsonStringify(message)}`);
this.log.warn(`ELEVATED: Zigbee Event of Type ${type} from device ${safeJsonStringify(device.ieeeAddr)}, incoming event: ${safeJsonStringify(message)}`);
// this assigment give possibility to use iobroker logger in code of the converters, via meta.logger
meta.logger = this.log;

Expand Down

0 comments on commit b83b15f

Please sign in to comment.