func RetryOnFail(retry bool) Options {
	return func(endure *Endure) {
		endure.retry = retry
	}
}
RetryOnFail if set to true, endure will try to stop and restart graph if one or more vertices are failed
package endure
import "time"
func SetLogLevel(lvl Level) Options {
	return func(endure *Endure) {
		endure.loglevel = lvl
	}
}