Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
332
type
ints []int
333
334
func
(nums ints) MarshalLogArray(arr zapcore.ArrayEncoder) error {
335
for
i :=
range
nums {
336
arr.AppendInt(nums[i])
337
}
338
return
nil
339
}
340
341
type
int64s []int64
342
Callers
nothing calls this directly
Calls
1
AppendInt
Method · 0.65
Tested by
no test coverage detected