Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging option #197

Open
sureshvv opened this issue Jan 13, 2018 · 1 comment
Open

Logging option #197

sureshvv opened this issue Jan 13, 2018 · 1 comment

Comments

@sureshvv
Copy link

I want to have an option to log all read/writes to a file when using pyusb. Does this make sense? Anyone has done this?

@jonasmalacofilho
Copy link
Member

Yes, it makes sense, and I'm guessing we're not alone in implementing this ad-hoc.

Can you provide a patch/PR that implements this? My only note is that it must have ~0 cost unless debug is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants