func WithMinLevel(level logrus.Level) OptionFunc {
	var levels []logrus.Level
	for _, l := range logrus.AllLevels {
		if l <= level {
			levels = append(levels, l)
		}
	}
	return func(h *Hook) {
		h.triggers = levels
	}
}
WithMinLevel is an OptionFunc that customizes the log.Levels the hook will
report on by selecting all levels more severe than the one provided.
package rollrus
import "github.com/sirupsen/logrus"
type OptionFunc func(*Hook)
func WithLevels(levels ...logrus.Level) OptionFunc {
	return func(h *Hook) {
		h.triggers = levels
	}
}