Documentation ¶ Index ¶ func NewLogger(tb testing.TB, opts *slog.HandlerOptions) *wlog.WLogger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(tb testing.TB, opts *slog.HandlerOptions) *wlog.WLogger NewLogger returns a new slog text logger that outputs to `t.Log`. This helps keep test output better formatted, and allows it to be differentiated in case of a failure during a parallel test suite run. Types ¶ This section is empty. Source Files ¶ View all Source files slog_test_handler.go Click to show internal directories. Click to hide internal directories.