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

Method MarshalLogArray

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

Source from the content-addressed store, hash-verified

350type int32s []int32
351
352func (nums int32s) MarshalLogArray(arr zapcore.ArrayEncoder) error {
353 for i := range nums {
354 arr.AppendInt32(nums[i])
355 }
356 return nil
357}
358
359type int16s []int16
360

Callers

nothing calls this directly

Calls 1

AppendInt32Method · 0.65

Tested by

no test coverage detected