logging

package
v0.3.50 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextKey = contextKeyType{}

Functions

func From

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

func TBWriter

func TBWriter(t TB) io.Writer

Types

type TB

type TB interface {
	Log(args ...any)
	Logf(format string, args ...any)
}

Jump to

Keyboard shortcuts

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