(b *testing.B)
| 129 | } |
| 130 | |
| 131 | func BenchmarkErrorField(b *testing.B) { |
| 132 | err := errors.New("egad") |
| 133 | withBenchedLogger(b, func(log *Logger) { |
| 134 | log.Info("Error.", Error(err)) |
| 135 | }) |
| 136 | } |
| 137 | |
| 138 | func BenchmarkErrorsField(b *testing.B) { |
| 139 | errs := []error{ |
nothing calls this directly
no test coverage detected