loggers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

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

func LoggerToContext

func LoggerToContext(ctx context.Context, zapLogger *zap.Logger) context.Context

func NewZapLogger

func NewZapLogger(develop bool) *zap.Logger

func With

func With(ctx context.Context, keyValues Map) context.Context

Types

type Map

type Map map[string]interface{}

Jump to

Keyboard shortcuts

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