logger

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

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

func Middleware

func Middleware(baseLogger *zap.Logger) func(http.Handler) http.Handler

func New

func New() *zap.Logger

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