Sha256: 5d34604f9605336916dc2da328f20681397c8f886389bf59e40e9e2ecd5c1330

Contents?: true

Size: 425 Bytes

Versions: 18

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Appsignal
  module Utils
    module DeprecationMessage
      def self.message(message, logger = Appsignal.internal_logger)
        Kernel.warn "appsignal WARNING: #{message}"
        logger.warn message
      end

      def deprecation_message(message, logger = Appsignal.internal_logger)
        Appsignal::Utils::DeprecationMessage.message(message, logger)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
appsignal-3.7.0-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.7.0 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.5-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.5 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.4-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.4 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.3-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.3 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.2-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.2 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.1-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.1 lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.0-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.6.0 lib/appsignal/utils/deprecation_message.rb
appsignal-3.5.6-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.5.6 lib/appsignal/utils/deprecation_message.rb
appsignal-3.5.5-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.5.5 lib/appsignal/utils/deprecation_message.rb