Custom device logging issue

So you could either add your own logging to the driver, or you could also try this one which I just checked the code and it seems it has logging.

If you want to add your own logging you could add something like this right before the sendEvent

log.info "${device.displayName}: ${msg}"

${msg} could be replaced by static text, or you could just replace the 'msg' part with another variable. Whatever is being sent in the event as the description usually work well for the log message.

1 Like