func LogRequest(r *Request, v ...string) {
	serializedHeaders := bytes.Buffer{}
	r.Header.Write(&serializedHeaders)

	printf := log.Printf
	if Logger != nil {
		printf = Logger.Printf
	}

	printf(
		LogRequestTemplate,
		strings.Join(v, " "),
		r.URL.String(),
		r.Method,
		time.Now(),
		serializedHeaders.String(),
		string(r.BodyData()),
		debug.Stack(),
	)
}
func LogRequest(r *Request, v ...string) {
	serializedHeaders := bytes.Buffer{}
	r.Header.Write(&serializedHeaders)

	printf := log.Printf
	if Logger != nil {
		printf = Logger.Printf
	}

	printf(
		LogRequestTemplate,
		strings.Join(v, " "),
		r.URL.String(),
		r.Method,
		time.Now(),
		serializedHeaders.String(),
		string(r.BodyData()),
		debug.Stack(),
	)
}
// LogRequest logs a goanna request