log

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscardHandler

type DiscardHandler struct{}

func (DiscardHandler) Enabled

func (h DiscardHandler) Enabled(_ context.Context, _ slog.Level) bool

func (DiscardHandler) Handle

func (h DiscardHandler) Handle(_ context.Context, _ slog.Record) error

func (DiscardHandler) WithAttrs

func (h DiscardHandler) WithAttrs(_ []slog.Attr) slog.Handler

func (DiscardHandler) WithGroup

func (h DiscardHandler) WithGroup(_ string) slog.Handler

Jump to

Keyboard shortcuts

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