Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
206
func
samplingDisabled() bool {
207
return
atomic.LoadInt32(disableSampling) == 1
208
}
Callers
2
TestDisableSampling
Function · 0.85
should
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestDisableSampling
Function · 0.68