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

Method MarshalLogArray

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

Source from the content-addressed store, hash-verified

341type int64s []int64
342
343func (nums int64s) MarshalLogArray(arr zapcore.ArrayEncoder) error {
344 for i := range nums {
345 arr.AppendInt64(nums[i])
346 }
347 return nil
348}
349
350type int32s []int32
351

Callers

nothing calls this directly

Calls 1

AppendInt64Method · 0.65

Tested by

no test coverage detected