Documentation ¶ Index ¶ func FromContext(ctx context.Context) (zap.Logger, bool) func MustFromContext(ctx context.Context) zap.Logger func MustNewContextWith(ctx context.Context, field ...zap.Field) context.Context func NewContext(ctx context.Context, l zap.Logger) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FromContext ¶ func FromContext(ctx context.Context) (zap.Logger, bool) func MustFromContext ¶ func MustFromContext(ctx context.Context) zap.Logger func MustNewContextWith ¶ func MustNewContextWith(ctx context.Context, field ...zap.Field) context.Context func NewContext ¶ func NewContext(ctx context.Context, l zap.Logger) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files zapctx.go Click to show internal directories. Click to hide internal directories.