log

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CliLogger = createCliLogger()

Logger set the default logger to development mode

Functions

func ConfigureLogger

func ConfigureLogger(logType string)

func RequestIDLogger

func RequestIDLogger(r *http.Request) *zap.SugaredLogger

func WithRequestID

func WithRequestID(ctx context.Context, id string) 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