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

Method AddArray

modules/logging/appendencoder.go:188–190  ·  view source on GitHub ↗

AddArray is part of the zapcore.ObjectEncoder interface.

(key string, marshaler zapcore.ArrayMarshaler)

Source from the content-addressed store, hash-verified

186
187// AddArray is part of the zapcore.ObjectEncoder interface.
188func (fe AppendEncoder) AddArray(key string, marshaler zapcore.ArrayMarshaler) error {
189 return fe.wrapped.AddArray(key, marshaler)
190}
191
192// AddObject is part of the zapcore.ObjectEncoder interface.
193func (fe AppendEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected