lib/quilt_rails/logger.rb in quilt_rails-3.2.1 vs lib/quilt_rails/logger.rb in quilt_rails-3.3.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module Quilt module Logger def self.log(string) - if defined? Rails && Rails.logger.nil? + if Rails.logger.nil? puts string else Rails.logger.info(string) end end