func LogDebugf(msg string, vars ...interface{}) {
	if DebugLoggingEnabled {
		log.Printf(strings.Join([]string{"[DEBUG]", msg}, " "), vars...)
	}
}
LogDebugf prints a formatted log message if DEBUG_LOG=1
package devtest
import (
	"bytes"
	"flag"
	"fmt"
	"io"
	"log"
	"os"
	"path/filepath"
	"runtime"
	"strings"
	"testing"
	"github.com/puma/puma-dev/homedir"
	"github.com/stretchr/testify/assert"
)
var (
	appSymlinkHome      = "~/.puma-dev"
	DebugLoggingEnabled = os.Getenv("DEBUG_LOG") == "1"
	StubbedArgs         = make(map[string]int)
	_, b, _, _  = runtime.Caller(0)
	ProjectRoot = filepath.Join(filepath.Dir(b), "..", "..")
)
func SetFlagOrFail(t *testing.T, flagName string, flagValue string) {
	if err := flag.Set(flagName, flagValue); err != nil {
		assert.Fail(t, err.Error())
	}
}