logx

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Component

func Component(l *slog.Logger, name string) *slog.Logger

func New

func New(opt Options) *slog.Logger

Types

type Options

type Options struct {
	Level  string
	Writer io.Writer

	Format string

	ReplaceAttr func(groups []string, a slog.Attr) slog.Attr
}

Jump to

Keyboard shortcuts

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