func WithT(ctx context.Context, t testing.TB) context.Context
WithT adds a logging hook for the given test Changes debug level to debug, clears output, and outputs all log messages as test logs.