class HTTParty::Logger::CurlFormatter

def log_url

def log_url
  http_method = request.http_method.name.split('::').last.upcase
  uri = if request.options[:base_uri]
          request.options[:base_uri] + request.path.path
        else
          request.path.to_s
        end
  log OUT, "#{http_method} #{uri}"
end