Better Logging for Libraries Using API