forked from oauth-xx/oauth2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users of this gem to override the logger
- 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 was hardcoded so as to 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.
- Loading branch information
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters