Pete Batard wrote: > 1. It sets the origin of the timestamps to the first libusb_init() call > issued by the application. The idea is to avoid getting an arbitrary origin > once we have toggleable logging, as it is currently set to the first debug > message ever issued, which isn't something an app developer can reference > against as it could occur wherever.
It would probably be simpler to do the same thing by moving the setting of first to before the loglevel check within the logging function. In addition that has the benefits that it keeps all logging code in one place, and avoids the need to add global state. //Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel