(b *testing.B)
| 98 | } |
| 99 | |
| 100 | func BenchmarkLogLeveled(b *testing.B) { |
| 101 | backend := SetBackend(NewLogBackend(ioutil.Discard, "", 0)) |
| 102 | backend.SetLevel(INFO, "") |
| 103 | |
| 104 | RunLogBenchmark(b) |
| 105 | } |
| 106 | |
| 107 | func BenchmarkLogLogBackend(b *testing.B) { |
| 108 | backend := SetBackend(NewLogBackend(ioutil.Discard, "", 0)) |
nothing calls this directly
no test coverage detected