numerapi icon indicating copy to clipboard operation
numerapi copied to clipboard

logging

Open uatach opened this issue 6 years ago • 1 comments

I find it kind of weird to pass a verbosity level on NumerAPI constructor, usually for a lib is recommended to attach a NullHandler [1] and let the consumer configure it.

[1] https://docs.python.org/3.6/howto/logging.html#configuring-logging-for-a-library

uatach avatar Aug 09 '18 20:08 uatach

Yes, I agree that the current logging setup is suboptimal. Thanks for the pointer to that doc, looks like the way forward.

uuazed avatar Aug 10 '18 09:08 uuazed