class Google::Cloud::Config

def warn! msg

def warn! msg
  return unless @show_warnings
  location = ::Kernel.caller_locations.find do |s|
    !s.to_s.include? "/google/cloud/config.rb:"
  end
  ::Kernel.warn "#{msg} at #{location}"
end