multipass

package
v0.0.0-...-c43a8c7 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiPass

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

MultiPass implements slog.Handler

func New

func New(handlers ...slog.Handler) *MultiPass

func (*MultiPass) Enabled

func (mp *MultiPass) Enabled(context.Context, slog.Level) bool

func (*MultiPass) Handle

func (mp *MultiPass) Handle(ctx context.Context, r slog.Record) error

func (*MultiPass) WithAttrs

func (mp *MultiPass) WithAttrs(attrs []slog.Attr) slog.Handler

func (*MultiPass) WithGroup

func (mp *MultiPass) WithGroup(name string) slog.Handler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳