Ask for Rails.logger first
Merge pull request #58 from robertomiranda/patch-4

Check for Rails.logger before using it