Documentation ¶
Overview ¶
Package loggable provides some adaptors for logging Spacetime domain objects using the zerolog library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Proto ¶
func Proto(m proto.Message) zerolog.LogObjectMarshaler
Returns a zerolog adaptor for the given proto. Since marshalling uses reflection (both proto reflection and runtime reflection), this should probably only be used for trace or debug logging or in codepaths where performance is not a concern.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.