guest

package
v0.0.0-...-71fdcac Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const LoggerCtxKey = "logger_context_key"

Variables

This section is empty.

Functions

func NewParigotHandler

func NewParigotHandler(sid id.ServiceId) slog.Handler

Types

type ParigotHandler

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

func (*ParigotHandler) Enabled

func (p *ParigotHandler) Enabled(_ context.Context, _ slog.Level) bool

func (*ParigotHandler) Handle

func (p *ParigotHandler) Handle(ctx context.Context, rec slog.Record) error

func (*ParigotHandler) WithAttrs

func (p *ParigotHandler) WithAttrs(attr []slog.Attr) slog.Handler

func (*ParigotHandler) WithGroup

func (p *ParigotHandler) WithGroup(g string) slog.Handler

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

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