func logfilePath(uuid string) (string, error) {
	config, err := os.UserConfigDir()
	if err != nil {
		return "", errors.Wrap(err, "failed to UserConfigDir")
	}

	dir := filepath.Join(config, "suborbital", "log")

	if err := os.MkdirAll(dir, 0755); err != nil {
		return "", errors.Wrap(err, "failed to MkdirAll")
	}

	filePath := filepath.Join(dir, fmt.Sprintf("%s.log", uuid))

	return filePath, nil
}
// logfilePath returns the directory that Info files should be written to
logfilePath returns the directory that Info files should be written to
// logfilePath returns the directory that Info files should be written to
func logfilePath(uuid string) (string, error) {
	config, err := os.UserConfigDir()
	if err != nil {
		return "", errors.Wrap(err, "failed to UserConfigDir")
	}
	dir := filepath.Join(config, "suborbital", "log")
	if err := os.MkdirAll(dir, 0755); err != nil {
		return "", errors.Wrap(err, "failed to MkdirAll")
	}
	filePath := filepath.Join(dir, fmt.Sprintf("%s.log", uuid))
	return filePath, nil
}
func logfilePath ( uuid string ) ( string , error ) { config , err := os . UserConfigDir ( ) if err != nil { return " " , errors . Wrap ( err , " " ) } dir := filepath . Join ( config , " " , " " ) if err := os . MkdirAll ( dir , 0755 ) ; err != nil { return " " , errors . Wrap ( err , " " ) } filePath := filepath . Join ( dir , fmt . Sprintf ( " " , uuid ) ) return filePath , nil }
logfilePath returns the directory that Info files should be written to
logfilePath returns the directory that Info files should be written to