Allow users of this gem to override the logger
Created by: rthbound
- This gem supports an existing OAUTH_DEBUG feature where log messages would be printed to $stdout when an ENV['OAUTH_DEBUG'] environment flag is raised.
- Previously, the logging (if enabled) was hardcoded so as to always write to $stdout.
- With this change, the gem will offer users the ability to override the logger used. This should provide much more freedom, allowing users to more easily wrangle debug output by providing other loggers and using other log formatters.