log

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

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

func SetLogger

func SetLogger(ctx context.Context, logger *slog.Logger)

SetLogger set logger instance for current context. This is intended to be called from a custom resolver and is currently propagated to the current context and its children.

func WithLogger

func WithLogger(ctx context.Context, logger *slog.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