homebridge-plugin-template icon indicating copy to clipboard operation
homebridge-plugin-template copied to clipboard

Plugin / accessory logging

Open cbrunnkvist opened this issue 1 year ago • 0 comments

The readme says:

You can now start Homebridge, use the -D flag, so you can see debug log messages in your plugin

which is nice and all, but I can't see any clear way of how to see only the related messages in the log - does logging use the debug module under the cover, so that it is possible to use the variable DEBUG= e.g. DEBUG=my-plugin:* to filter, or something like that? Either way I think it would be helpful during troubleshooting for both users and devs if the best practice logging was described a just a wee bit more in this template.

cbrunnkvist avatar Feb 09 '24 13:02 cbrunnkvist