Documentation

Overview

Package logging is a copy of knative/pkg's logging package, except it uses desugared loggers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *zap.Logger

func With

func With(ctx context.Context, fields ...zap.Field) context.Context

func WithLogger

func WithLogger(ctx context.Context, logger *zap.Logger) context.Context

Types

This section is empty.

Source Files