logger

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZapLogger

func NewZapLogger(w io.Writer, slevel slog.Level) *zap.Logger

Types

type ColumnLogger

type ColumnLogger struct {
	*log.Logger
	// contains filtered or unexported fields
}

func NewColumnLogger

func NewColumnLogger(w io.Writer, level slog.Level, profile termenv.Profile) *ColumnLogger

func (*ColumnLogger) RegisterGroupColor

func (cl *ColumnLogger) RegisterGroupColor(group string, color lipgloss.Color)

func (*ColumnLogger) WithGroup

func (cl *ColumnLogger) WithGroup(group string) slog.Handler

Jump to

Keyboard shortcuts

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