func (l *HTTPLogger) LogResponse(req *http.Request, res *http.Response, err error, duration time.Duration) {
	duration /= time.Millisecond
	if err != nil {
		logrus.Trace("log: ", err)
	} else {
		logrus.Tracef(
			"Response method=%s status=%d durationMs=%d %s",
			req.Method,
			res.StatusCode,
			duration,
			req.URL.String(),
		)
		for k, v := range res.Header {
			logrus.Tracef("HEADER: %s : %s\n", k, v)
		}

	}
}
// LogResponse will log the response
LogResponse will log the response
// LogResponse will log the response
func (l *HTTPLogger) LogResponse(req *http.Request, res *http.Response, err error, duration time.Duration) {
	duration /= time.Millisecond
	if err != nil {
		logrus.Trace("log: ", err)
	} else {
		logrus.Tracef(
			"Response method=%s status=%d durationMs=%d %s",
			req.Method,
			res.StatusCode,
			duration,
			req.URL.String(),
		)
		for k, v := range res.Header {
			logrus.Tracef("HEADER: %s : %s\n", k, v)
		}
	}
}
func ( l * HTTPLogger ) LogResponse ( req * http . Request , res * http . Response , err error , duration time . Duration ) { duration /= time . Millisecond if err != nil { logrus . Trace ( " " , err ) } else { logrus . Tracef ( " " , req . Method , res . StatusCode , duration , req . URL . String ( ) , ) for k , v := range res . Header { logrus . Tracef ( " \n " , k , v ) } } }
LogResponse will log the response
LogResponse will log the response