Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ Write
Method
Write
zapcore/sampler_test.go:161–164 ·
view source on GitHub ↗
(Entry, []Field)
Source
from the content-addressed store, hash-verified
159
}
160
161
func
(c *countingCore) Write(Entry, []Field) error {
162
c.logs.Add(1)
163
return
nil
164
}
165
166
func
(c *countingCore) With([]Field) Core {
return
c }
167
func
(*countingCore) Enabled(Level) bool {
return
true }
Callers
nothing calls this directly
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected