Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rs/zerolog
/ MarshalZerologArray
Method
MarshalZerologArray
log_example_test.go:237–241 ·
view source on GitHub ↗
(a *zerolog.Array)
Source
from the content-addressed store, hash-verified
235
type
Users []User
236
237
func
(uu Users) MarshalZerologArray(a *zerolog.Array) {
238
for
_, u :=
range
uu {
239
a.Object(u)
240
}
241
}
242
243
func
ExampleEvent_Array() {
244
log := zerolog.New(os.Stdout)
Callers
nothing calls this directly
Calls
1
Object
Method · 0.45
Tested by
no test coverage detected