func (s RandomSampler) Sample(lvl Level) bool {
	if s <= 0 {
		return false
	}
	if rand.Intn(int(s)) != 0 {
		return false
	}
	return true
}
Sample implements the Sampler interface.
package zerolog
import (
	"math/rand"
	"sync/atomic"
	"time"
)
var (
	Often = RandomSampler(10)
	Sometimes = RandomSampler(100)
	Rarely = RandomSampler(1000)
)
type Sampler interface {
	Sample(lvl Level) bool
}
type RandomSampler uint32