ctxhandler

package
v0.0.0-...-8c7fe1e Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() *ctxHandler

Create a new handler instance This handler simply uses the supplied ctx to check for a Handler and uses it This handler can be used directly or installed as slog.Default() and provides compatibility for existing code that calls slog.InfoContext() or similar to use the logging handler configured in the ctx

Types

This section is empty.

Jump to

Keyboard shortcuts

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