isn't this `@logger ||= defined?(Rails) && Rails.respond_to?(:logger) && Rails.logger` better?