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

Method AddByteString

zapcore/json_encoder.go:114–117  ·  view source on GitHub ↗
(key string, val []byte)

Source from the content-addressed store, hash-verified

112}
113
114func (enc *jsonEncoder) AddByteString(key string, val []byte) {
115 enc.addKey(key)
116 enc.AppendByteString(val)
117}
118
119func (enc *jsonEncoder) AddBool(key string, val bool) {
120 enc.addKey(key)

Callers

nothing calls this directly

Calls 2

addKeyMethod · 0.95
AppendByteStringMethod · 0.95

Tested by

no test coverage detected