log

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZitadelLogger

func NewZitadelLogger(logger *slog.Logger) *expslog.Logger

Types

type SLogHandler

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

func (SLogHandler) Enabled

func (handler SLogHandler) Enabled(ctx context.Context, level expslog.Level) bool

func (SLogHandler) Handle

func (handler SLogHandler) Handle(ctx context.Context, expRecord expslog.Record) error

func (SLogHandler) WithAttrs

func (handler SLogHandler) WithAttrs(attrs []expslog.Attr) expslog.Handler

func (SLogHandler) WithGroup

func (handler SLogHandler) WithGroup(name string) expslog.Handler

Jump to

Keyboard shortcuts

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