func LogFatal(ctx *log.Entry, err error, reason string) {
	ctx.WithFields(log.Fields{"error": err}).Fatal(reason)
}
LogFatal logs the passed in error and exits.
package util
import (
	log "github.com/Sirupsen/logrus"
	"net/http"
)
func LogWarn(ctx *log.Entry, err error, reason string) {
	ctx.WithFields(log.Fields{"error": err}).Warn(reason)
}
func LogErr(ctx *log.Entry, err error, reason string) {
	ctx.WithFields(log.Fields{"error": err}).Error(reason)
}