// Log logs if debug env var is set at true
Log logs if debug env var is set at true
// Log logs if debug env var is set at true
func Log(ctxt context.Context, level string, msg ...interface{}) {
	if ctxt == nil || config.GetBool(ctxt, "debug") {
		switch level {
		case "info":
			logrus.Infoln(msg...)
		case "warn":
			logrus.Warnln(msg...)
		case "err":
			logrus.Errorln(msg...)
		default:
			logrus.Infoln(msg...)
		}
	}
}
func Log ( ctxt context . Context , level string , msg ... interface { } ) { if ctxt == nil || config . GetBool ( ctxt , " " ) { switch level { case " " : logrus . Infoln ( msg ... ) case " " : logrus . Warnln ( msg ... ) case " " : logrus . Errorln ( msg ... ) default : logrus . Infoln ( msg ... ) } } }
Log logs if debug env var is set at true
Log logs if debug env var is set at true