Fatalf logs the passed message in the context of the test and fails the test
(format string, args ...interface{})
| 89 | |
| 90 | // Fatalf logs the passed message in the context of the test and fails the test |
| 91 | func (t *T) Fatalf(format string, args ...interface{}) { |
| 92 | log.Ctx(t.ctx).Error().Msgf(format, args...) |
| 93 | t.FailNow() |
| 94 | } |
| 95 | |
| 96 | // Log logs the passed message in the context of the test |
| 97 | func (t *T) Log(args ...interface{}) { |