MCPcopy
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
161func (c *countingCore) Write(Entry, []Field) error {
162 c.logs.Add(1)
163 return nil
164}
165
166func (c *countingCore) With([]Field) Core { return c }
167func (*countingCore) Enabled(Level) bool { return true }

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected