module Dry::Core::Deprecations

def warn(msg, tag: nil)

Parameters:
  • msg (String) -- Warning string
def warn(msg, tag: nil)
  tagged = "[#{tag || 'deprecated'}] #{msg.gsub(/^\s+/, '')}"
  logger.warn(tagged)
end