logging

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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