cout

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cout

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

func New

func New(level slog.Level) *Cout

func (*Cout) Enabled

func (self *Cout) Enabled(ctx context.Context, l slog.Level) bool

func (*Cout) Handle

func (self *Cout) Handle(ctx context.Context, rec slog.Record) error

func (*Cout) WithAttrs

func (self *Cout) WithAttrs(attrs []slog.Attr) slog.Handler

func (*Cout) WithGroup

func (self *Cout) WithGroup(name string) slog.Handler

Jump to

Keyboard shortcuts

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