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.2-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.2 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.1-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.1 lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.0-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.3.0 lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.2-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.2 lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.1-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.1 lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.0-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.2.0 lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.6-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.6 lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.5-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.5 lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.4-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.4 lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.3-java lib/appsignal/utils/deprecation_message.rb
appsignal-3.1.3 lib/appsignal/utils/deprecation_message.rb