MCPcopy Create free account
hub / github.com/caddyserver/caddy / AddObject

Method AddObject

modules/logging/appendencoder.go:193–195  ·  view source on GitHub ↗

AddObject is part of the zapcore.ObjectEncoder interface.

(key string, marshaler zapcore.ObjectMarshaler)

Source from the content-addressed store, hash-verified

191
192// AddObject is part of the zapcore.ObjectEncoder interface.
193func (fe AppendEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error {
194 return fe.wrapped.AddObject(key, marshaler)
195}
196
197// AddBinary is part of the zapcore.ObjectEncoder interface.
198func (fe AppendEncoder) AddBinary(key string, value []byte) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected