(b *testing.B)
| 90 | } |
| 91 | |
| 92 | func BenchmarkLogChannelMemoryBackend(b *testing.B) { |
| 93 | channelBackend := NewChannelMemoryBackend(1024) |
| 94 | backend := SetBackend(channelBackend) |
| 95 | backend.SetLevel(DEBUG, "") |
| 96 | RunLogBenchmark(b) |
| 97 | channelBackend.Flush() |
| 98 | } |
| 99 | |
| 100 | func BenchmarkLogLeveled(b *testing.B) { |
| 101 | backend := SetBackend(NewLogBackend(ioutil.Discard, "", 0)) |
nothing calls this directly
no test coverage detected