log

package
v0.0.0-...-cba17b0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decorate

func Decorate(f http.HandlerFunc) http.HandlerFunc

Decorate wraps the given HandlerFunc by adding a unique request id to the context of the request that the HandlerFunc receives.

func Println

func Println(ctx context.Context, msg string)

Println calls log.Printf to print to the standard logger but adds the request from the event context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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