MCPcopy
hub / github.com/uber-go/zap / Check

Method Check

zapio/writer_test.go:242–244  ·  view source on GitHub ↗
(ent zapcore.Entry, ce *zapcore.CheckedEntry)

Source from the content-addressed store, hash-verified

240func (*partiallyNopCore) Enabled(zapcore.Level) bool { return true }
241
242func (c *partiallyNopCore) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry {
243 return ce.AddCore(ent, c)
244}
245
246func (c *partiallyNopCore) With([]zapcore.Field) zapcore.Core { return c }
247func (*partiallyNopCore) Write(zapcore.Entry, []zapcore.Field) error { return nil }

Callers

nothing calls this directly

Calls 1

AddCoreMethod · 0.80

Tested by

no test coverage detected