logger

package
v0.0.0-...-8478a25 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-2-Clause-Patent Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *logrus.Entry

FromContext retrieves the current logger from the context

func WithContext

func WithContext(ctx context.Context, logger *logrus.Entry) context.Context

WithContext returns a new context with the provided logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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