Documentation
¶
Index ¶
- func TestNew(t *testing.T)
- type TestLog
- func (h *TestLog) Enabled(_ context.Context, level slog.Level) bool
- func (h *TestLog) Handle(context context.Context, record slog.Record) error
- func (h *TestLog) Read() []string
- func (h *TestLog) Reset()
- func (h *TestLog) WithAttrs(attrs []slog.Attr) slog.Handler
- func (h *TestLog) WithGroup(name string) slog.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.