Sha256: 21ffa10dc015ccc786e4d22ff230a634ea1f2b2f4b7106f8245cfe1810e5ab0f

Contents?: true

Size: 376 Bytes

Versions: 136

Compression:

Stored size: 376 Bytes

Contents

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

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

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
appsignal-3.3.11-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.11 lib/appsignal/utils/deprecation_message.rb
appsignal-3.4.0-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.4.0 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.10-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.10 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.9-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.9 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.8-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.8 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.7-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.7 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.6-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.6 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.5-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.5 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.4-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.4 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.3-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.3 lib/appsignal/utils/deprecation_message.rb