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

Method MarshalLogArray

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

Source from the content-addressed store, hash-verified

332type ints []int
333
334func (nums ints) MarshalLogArray(arr zapcore.ArrayEncoder) error {
335 for i := range nums {
336 arr.AppendInt(nums[i])
337 }
338 return nil
339}
340
341type int64s []int64
342

Callers

nothing calls this directly

Calls 1

AppendIntMethod · 0.65

Tested by

no test coverage detected