Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext derives a new LoggingContext from the existing LoggingContext, adds the provided annotations, and then returns a clone of the provided context.Context with the new LoggingContext. IMPORTANT: The provided context is not modified, logging annotations are only part of the new context.
func UpdateContext ¶
UpdateContext updates the existing logging context in the context. IMPORTANT: No new context is created, all future logs with provided context will be impacted.
Types ¶
Click to show internal directories.
Click to hide internal directories.