type go.pact.im/x/logs.HandlerFunc
7 uses
go.pact.im/x/logs (current package)
handler.go#L11: type HandlerFunc func(context.Context, slog.Record) error
handler.go#L15: func (f HandlerFunc) Enabled(_ context.Context, _ slog.Level) bool {
handler.go#L20: func (f HandlerFunc) Handle(ctx context.Context, r slog.Record) error {
handler.go#L26: func (f HandlerFunc) WithAttrs(attrs []slog.Attr) slog.Handler {
handler.go#L27: return HandlerFunc(func(ctx context.Context, r slog.Record) error {
handler.go#L37: func (f HandlerFunc) WithGroup(name string) slog.Handler {
handler.go#L38: return HandlerFunc(func(ctx context.Context, r slog.Record) error {