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

Method AddObject

modules/logging/nopencoder.go:32–32  ·  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

30
31// AddObject is part of the zapcore.ObjectEncoder interface.
32func (nopEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error { return nil }
33
34// AddBinary is part of the zapcore.ObjectEncoder interface.
35func (nopEncoder) AddBinary(key string, value []byte) {}

Callers 1

MarshalLogObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected