logging

package
v0.0.0-...-f2a3559 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleHandler

type SimpleHandler struct {
	Writer io.Writer
	Level  slog.Leveler
	// contains filtered or unexported fields
}

func (*SimpleHandler) Enabled

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

func (*SimpleHandler) Handle

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

func (*SimpleHandler) WithAttrs

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

func (*SimpleHandler) WithGroup

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

Jump to

Keyboard shortcuts

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