Open
Description
If I try to run this program after instrumenting calls to eventPool.New
and putEvent
, I see that we won't put back the Dict
created back into the eventPool
.
We do use putEvent
, if a Dict
is applied directly to an Event.
I am new to this library and am trying to understand its implementation, so my question is if I am missing something here and this is actually the expectation?
package main
import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
func main() {
log.Debug().Array("arr", zerolog.Arr().Dict(zerolog.Dict().Str("key", "value"))).Msg("arrayTest")
}
Metadata
Metadata
Assignees
Labels
No labels