Re: [Libusbx-devel] [PATCH 2/2] Logging: Only display timestamps in debug mode and use libusb_init as origin

2012-05-27 Thread Peter Stuge
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

Re: [Libusbx-devel] [PATCH 2/2] Logging: Only display timestamps in debug mode and use libusb_init as origin

2012-05-26 Thread Xiaofan Chen
On Fri, May 25, 2012 at 2:01 AM, Pete Batard p...@akeo.ie wrote: This one does a few things: 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

Re: [Libusbx-devel] [PATCH 2/2] Logging: Only display timestamps in debug mode and use libusb_init as origin

2012-05-26 Thread Xiaofan Chen
On Sat, May 26, 2012 at 6:26 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Fri, May 25, 2012 at 2:01 AM, Pete Batard p...@akeo.ie wrote: This one does a few things: 1. It sets the origin of the timestamps to the first libusb_init() call issued by the application. The idea is to avoid getting

Re: [Libusbx-devel] [PATCH 2/2] Logging: Only display timestamps in debug mode and use libusb_init as origin

2012-05-26 Thread Xiaofan Chen
On Sat, May 26, 2012 at 6:35 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Sat, May 26, 2012 at 6:26 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Fri, May 25, 2012 at 2:01 AM, Pete Batard p...@akeo.ie wrote: This one does a few things: 1. It sets the origin of the timestamps to the first