private
def logger
  @logger ||= Logger.new('log/seeds_domains.log')
end

logger.info("product_available? @rent_at: #{@rent_at}, @return_at: #{@return_at}")
logger.info("Date.today: #{Date.today}, Date.today + 3 #{Date.today + 3}")
logger.info("Date.today + Order::PERIOD_SUBSCRIPTION_INT: #{Date.today + Order::PERIOD_SUBSCRIPTION_INT}, Date.today + Order::PERIOD_SUBSCRIPTION_INT + 3 #{Date.today + Order::PERIOD_SUBSCRIPTION_INT + 3}")

https://text-compare.com/

Free Online Tools For Developers - to Beautify, Validate, Minify, Analyse, Convert JSON, XML, JavaScript, CSS, HTML, Excel

tail -f file.log