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

Struct recordingCore

zapcore/entry_test.go:215–218  ·  zapcore/entry_test.go::recordingCore

recordingCore captures the last entry and fields written to it.

Source from the content-addressed store, hash-verified

213
214// recordingCore captures the last entry and fields written to it.
215type recordingCore struct {
216 entry Entry
217 fields []Field
218}
219
220func (c *recordingCore) Enabled(Level) bool { return true }
221func (c *recordingCore) With([]Field) Core { return c }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected