MCPcopy
hub / github.com/rs/zerolog / logObjectMarshalerImpl

Struct logObjectMarshalerImpl

ctx_test.go:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76type logObjectMarshalerImpl struct {
77 name string
78 age int
79}
80
81func (t logObjectMarshalerImpl) MarshalZerologObject(e *Event) {
82 e.Str("name", strings.ToLower(t.name)).Int("age", -t.age)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected