kwvanderlinde / python-cached-requests

Memory-efficient caching for the requests library and Python 3
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Implement proper logging. #5

Closed kwvanderlinde closed 5 years ago

kwvanderlinde commented 5 years ago

The current state of logging is awful. In some places, we simply print(...) messages, which is unacceptable for a library to do. Elsewhere, we simply have # TODO ... comments instructing us to log certain cases. In other places yet, we have comments that could be replaced with INFO logs that provide the same value, but can produce output on execution.