cvuchener / hidpp

Collection of HID++ tools
GNU General Public License v3.0
90 stars 23 forks source link

turning on debug logging #22

Closed pfps closed 3 years ago

pfps commented 3 years ago

I'm the maintainer of Solaar, a mostly GUI-based tool to control HID++ devices. I'm trying to find out why Solaar is not working with a particular device that works fine in hidpp. I would like to take a look at what hidpp is sending to the device and it appears that there is debugging code in hidpp.

However, I can't see how to turn it on. Please let me know how to turn debugging logging on. Thanks.

cvuchener commented 3 years ago

Use -vdebug:report (or just -vdebug for every kind of debug message). The syntax for the logging settings is described in the documentation of Log::init.