func WithCtx(ctx context.Context) *Logr {
	return &Logr{ctx: ctx, Logger: defaultLogger(ctx)}
}
WithCtx will return a logrus logger that will log Zipkin when logging.
package logr
import (
	"context"
	"fmt"
	"os"
	opentracing "github.com/opentracing/opentracing-go"
	"github.com/opentracing/opentracing-go/log"
	zipkintracing "github.com/openzipkin-contrib/zipkin-go-opentracing"
	"github.com/sanity-io/litter"
	"github.com/sirupsen/logrus"
)
const TraceKey = "traceId"
type Logr struct {
	ctx    context.Context
	Logger FieldLogr
}
type FieldLogr interface {
	Debugf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Printf(format string, args ...interface{})
	Warnf(format string, args ...interface{})
	Warningf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
	Panicf(format string, args ...interface{})
	Debug(args ...interface{})
	Info(args ...interface{})
	Print(args ...interface{})
	Warn(args ...interface{})
	Warning(args ...interface{})
	Error(args ...interface{})
	Fatal(args ...interface{})
	Panic(args ...interface{})
}
func SetLevelFromEnv() {
	lvl := os.Getenv("LOG_LEVEL")
	switch lvl {
	case "DEBUG":
		logrus.SetLevel(logrus.DebugLevel)
	case "INFO":
		logrus.SetLevel(logrus.InfoLevel)
	case "WARN":
		logrus.SetLevel(logrus.WarnLevel)
	case "ERROR":
		logrus.SetLevel(logrus.ErrorLevel)
	default:
		logrus.SetLevel(logrus.InfoLevel)
	}
}