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

Method MarshalLogArray

array.go:388–393  ·  array.go::times.MarshalLogArray
(arr zapcore.ArrayEncoder)

Source from the content-addressed store, hash-verified

386type times []time.Time
387
388func (ts times) MarshalLogArray(arr zapcore.ArrayEncoder) error {
389 for i := range ts {
390 arr.AppendTime(ts[i])
391 }
392 return nil
393}
394
395type uints []uint
396

Callers

nothing calls this directly

Calls 1

AppendTimeMethod · 0.65

Tested by

no test coverage detected