Sha256: 3adc96e1a8524d85b33361591abf85a2ac0d59a7115fa1f211829597f1d9059e

Contents?: true

Size: 351 Bytes

Versions: 9

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module Quilt
  module Logger
    def self.log(string)
      ActiveSupport::Deprecation.warn(<<~MSG.squish)
        Quilt::Logger.log is deprecated. Please use Quilt.logger instead.
      MSG
      Quilt.configuration.logger.info(string)
    end
  end

  class << self
    delegate(:logger, to: :configuration)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
quilt_rails-3.6.0 lib/quilt_rails/logger.rb
quilt_rails-3.5.6 lib/quilt_rails/logger.rb
quilt_rails-3.5.5 lib/quilt_rails/logger.rb
quilt_rails-3.5.4 lib/quilt_rails/logger.rb
quilt_rails-3.5.2 lib/quilt_rails/logger.rb
quilt_rails-3.5.1 lib/quilt_rails/logger.rb
quilt_rails-3.5.0 lib/quilt_rails/logger.rb
quilt_rails-3.4.2 lib/quilt_rails/logger.rb
quilt_rails-3.4.1 lib/quilt_rails/logger.rb