MCPcopy
hub / github.com/uber-go/zap / sampler

Struct sampler

zapcore/sampler.go:168–175  ·  zapcore/sampler.go::sampler

Source from the content-addressed store, hash-verified

166}
167
168type sampler struct {
169 Core
170
171 counts *counters
172 tick time.Duration
173 first, thereafter uint64
174 hook func(Entry, SamplingDecision)
175}
176
177var (
178 _ Core = (*sampler)(nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected