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

Interface LogObjectMarshaler

event.go:58–60  ·  event.go::LogObjectMarshaler

LogObjectMarshaler provides a strongly-typed and encoding-agnostic interface to be implemented by types used with Event/Context's Object methods.

Source from the content-addressed store, hash-verified

56// LogObjectMarshaler provides a strongly-typed and encoding-agnostic interface
57// to be implemented by types used with Event/Context's Object methods.
58type LogObjectMarshaler interface {
59 MarshalZerologObject(e *Event)
60}
61
62// LogArrayMarshaler provides a strongly-typed and encoding-agnostic interface
63// to be implemented by types used with Event/Context's Array methods.

Callers 2

appendObjectMethod · 0.65
EmbedObjectMethod · 0.65

Implementers 7

Userlog_example_test.go
Pricelog_example_test.go
loggableObjectevent_test.go
fixtureObjfixtures_test.go
loggableErrorerror_marshal_test.go

Calls

no outgoing calls

Tested by

no test coverage detected