func logEndRequestEvent()

in recorders/logrus.go [43:56]


func logEndRequestEvent(log *logrus.Entry, msg *bender.EndRequestEvent) {
	log = log.WithFields(logrus.Fields{
		"start":    msg.Start,
		"end":      msg.End,
		"elapsed":  int(msg.End - msg.Start),
		"response": msg.Response,
	})

	if msg.Err != nil {
		log.WithError(msg.Err).Warn("Fail")
	} else {
		log.Info("Success")
	}
}