Versions in this module Expand all Collapse all v0 v0.77.0 Dec 5, 2026 Changes in this version + type Logs struct + func Capture(t *testing.T) *Logs + func (*Logs) Enabled(context.Context, slog.Level) bool + func (c *Logs) AttrsFor(level slog.Level, msg string) []map[string]any + func (c *Logs) Handle(_ context.Context, r slog.Record) error + func (c *Logs) LogCount(level slog.Level, msg string) int + func (c *Logs) RecordsAt(level slog.Level) []map[string]any + func (c *Logs) WarnsFor(clientID string) []map[string]any + func (c *Logs) WithAttrs([]slog.Attr) slog.Handler + func (c *Logs) WithGroup(string) slog.Handler