Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyCtxLogger ¶
CopyCtxLogger creates a new context with a copy of any logger found in the context. This is useful when we don't want to pollute the caller's log context.
func WithMethod ¶
WithMethod adds a method field to the context's logger.
func WithObjectID ¶
WithObjectID adds an object ID field to the context's logger.
func WithUserID ¶
WithUserID adds a user ID field to the context's logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.