Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ apply
Method
apply
zapcore/sampler.go:103–103 ·
view source on GitHub ↗
(*sampler)
Source
from the content-addressed store, hash-verified
101
// SamplerOption configures a Sampler.
102
type
SamplerOption
interface
{
103
apply(*sampler)
104
}
105
106
// nopSamplingHook is the default hook used by sampler.
Callers
1
NewSamplerWithOptions
Function · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected