Sha256: 0bb8966fd09a3e505a0c6448bfc88d3629ec89abdbece3c69d2d7bbe19955ba0

Contents?: true

Size: 377 Bytes

Versions: 8

Compression:

Stored size: 377 Bytes

Contents

module Appsignal
  module Utils
    module DeprecationMessage
      def self.message(message, logger = Appsignal.logger)
        $stderr.puts "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

8 entries across 8 versions & 1 rubygems

Version Path
appsignal-2.11.0.beta.4 lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.4-java lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.3 lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.3-java lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.2 lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.2-java lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.1-java lib/appsignal/utils/deprecation_message.rb
appsignal-2.11.0.beta.1 lib/appsignal/utils/deprecation_message.rb