vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier.rb
# Look for the Rails logger currently defined
Look for the Rails logger currently defined
Look for the Rails logger currently defined
def logger
      if defined?(Rails.logger)
        Rails.logger
      elsif defined?(RAILS_DEFAULT_LOGGER)
        RAILS_DEFAULT_LOGGER
      end
    end
def logger if defined? ( Rails . logger ) Rails . logger elsif defined? ( RAILS_DEFAULT_LOGGER ) RAILS_DEFAULT_LOGGER end end
Look for the Rails logger currently defined
Look for the Rails logger currently defined