(t testing.TB)
| 147 | var ctx = context.Background() |
| 148 | |
| 149 | func l(t testing.TB) slog.Logger { |
| 150 | return Make(t, &Options{SkipCleanup: true}) |
| 151 | } |
| 152 | |
| 153 | // Debug logs the given msg and fields to t via t.Log at the debug level. |
| 154 | func Debug(t testing.TB, msg string, fields ...slog.Field) { |