logs

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gen3Logger

type Gen3Logger struct {
	*slog.Logger
}

func NewGen3Logger

func NewGen3Logger(logger *slog.Logger, _ ...string) *Gen3Logger

func (*Gen3Logger) Printf

func (t *Gen3Logger) Printf(format string, v ...any)

type ProgressHandler

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

func NewProgressHandler

func NewProgressHandler(next slog.Handler) *ProgressHandler

func (*ProgressHandler) Enabled

func (h *ProgressHandler) Enabled(ctx context.Context, level slog.Level) bool

func (*ProgressHandler) Handle

func (h *ProgressHandler) Handle(ctx context.Context, record slog.Record) error

func (*ProgressHandler) WithAttrs

func (h *ProgressHandler) WithAttrs(attrs []slog.Attr) slog.Handler

func (*ProgressHandler) WithGroup

func (h *ProgressHandler) WithGroup(name string) slog.Handler

Jump to

Keyboard shortcuts

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