logger

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 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) *zerolog.Logger

retrieves the logger from context

func Get

func Get() *zerolog.Logger

func Inject

func Inject(r *http.Request, l *zerolog.Logger) *http.Request

injects the logger into context

func NewContext

func NewContext(l *zerolog.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