logging

package
v0.13.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL