# Functions
AddLogger converts a context.Context into a Context.
Background returns context.Background with a default logger.
Cause returns the context.Cause of the context.
SetDefaultLogger sets the package-level global default logger that will be used for Background and TODO contexts.
TODO returns context.TODO with a default logger.
WithCancel returns context.WithCancel with the log object propagated.
WithCancelCause returns context.WithCancelCause with the log object propagated.
WithDeadline returns context.WithDeadline with the log object propagated and the deadline added to the structured log values.
WithDeadlineCause returns context.WithDeadlineCause with the log object propagated and the deadline added to the structured log values.
WithLogger converts a context.Context into a Context by adding a logger.
WithTimeout returns context.WithTimeout with the log object propagated and the timeout added to the structured log values.
WithTimeoutCause returns context.WithTimeoutCause with the log object propagated and the timeout added to the structured log values.
WithValue returns context.WithValue with the log object propagated and the value added to the structured log values (if the key is a string).
WithValues returns context.WithValue with the log object propagated and the values added to the structured log values (if the key is a string).
# Interfaces
Context wraps context.Context and includes an additional Logger() method.
# Type aliases
No description provided by the author
CancelFunc and CancelCauseFunc are type aliases to allow use as if they are the same types as the standard library variants.