-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make formatter optional #23
Comments
Maybe just add a @logger.formatter = formatter || GrapeLogging::Formatters::Default.new if @logger.respond_to?(:formatter) |
Exactly my thinking :)
|
I'm not so able to test but I pushed you the modification #24 ;) |
Actually it's not |
There are logger implementations that don't expose `.formatter. Make grape-logging compatible with them!
The text was updated successfully, but these errors were encountered: