Help us shape the future of Go! Take the 2026 Go Developer Survey

logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoggerFailedToBuild = errors.New("failed to build the logger")
)

Functions

func ContextWith

func ContextWith(parent context.Context, logger *zap.Logger) context.Context

func FromContext

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

func New

func New() (*zap.Logger, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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