log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewJSON

func NewJSON(opts Options) *Logger

func (*Logger) Base

func (l *Logger) Base() *slog.Logger

func (*Logger) With

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

type Options

type Options struct {
	Level slog.Level
	Out   io.Writer
}

Jump to

Keyboard shortcuts

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