MCPcopy
hub / github.com/rs/zerolog / samplingDisabled

Function samplingDisabled

globals.go:206–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func samplingDisabled() bool {
207 return atomic.LoadInt32(disableSampling) == 1
208}

Callers 2

TestDisableSamplingFunction · 0.85
shouldMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestDisableSamplingFunction · 0.68