Module: Appsignal::Utils::DeprecationMessage

Included in:
CLI::NotifyOfDeploy, Config, EventFormatter, Minutely::ProbeCollection
Defined in:
lib/appsignal/utils/deprecation_message.rb

Instance Method Summary collapse

Instance Method Details

#deprecation_message(message, logger) ⇒ Object



4
5
6
7
# File 'lib/appsignal/utils/deprecation_message.rb', line 4

def deprecation_message(message, logger)
  $stdout.puts "appsignal WARNING: #{message}"
  logger.warn message
end