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

Method MarshalLogArray

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

Source from the content-addressed store, hash-verified

377type stringArray []string
378
379func (ss stringArray) MarshalLogArray(arr zapcore.ArrayEncoder) error {
380 for i := range ss {
381 arr.AppendString(ss[i])
382 }
383 return nil
384}
385
386type times []time.Time
387

Callers

nothing calls this directly

Calls 1

AppendStringMethod · 0.65

Tested by

no test coverage detected