libusbx v1.0.9-rc4 is now available
Xiaofan Chen
xiaofanc at gmail.com
Fri Mar 30 09:27:04 EDT 2012
On Fri, Mar 30, 2012 at 9:16 PM, Pete Batard <pete at akeo.ie> wrote:
> On 2012.03.30 14:08, Xiaofan Chen wrote:
>>
>> On the other hand, I think it is better to fix xusb not to use
>> debug level 3 as default.
>
>
> I disagree. Samples should produce informational messages to be, well,
> informative... Release applications may of course choose to go with only
> error, and disable info, but I don't think we should do that in a sample. We
> want to give developers some notification over matters they may want to be
> aware of before coding their apps, and these would typically be produced by
> info messages.
No problem here. It is just an example.
libusb-win32's testlibusb actually sets the debug level to highest.
http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb/tests/testlibusb.c?revision=413&view=markup
http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb/tests/testlibusb_win.c?revision=413&view=markup
> Besides, informational logging is supposed not to be polluting, and clearly
> these messages are, so I think they would be better suited as debug.
>
Yes that is true as well. The OS X info logging seems to be
too verbose indeed.
--
Xiaofan
More information about the libusbx
mailing list