package webutil

import (
	"net/http"

	log "github.com/sirupsen/logrus"
)

// Deprecated: Use in new location of github.rackspace.com/gorax/webutil
func LogRequest(r *http.Request) {
	log.WithFields(log.Fields{
		"remote_address": r.RemoteAddr,
		"method":         r.Method,
		"url":            r.URL,
	}).Info("request")
}
