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

Method MarshalLogArray

array.go:271–276  ·  view source on GitHub ↗
(arr zapcore.ArrayEncoder)

Source from the content-addressed store, hash-verified

269type bools []bool
270
271func (bs bools) MarshalLogArray(arr zapcore.ArrayEncoder) error {
272 for i := range bs {
273 arr.AppendBool(bs[i])
274 }
275 return nil
276}
277
278type byteStringsArray [][]byte
279

Callers

nothing calls this directly

Calls 1

AppendBoolMethod · 0.65

Tested by

no test coverage detected