(b *testing.B)
| 111 | } |
| 112 | |
| 113 | func BenchmarkLogLogBackendColor(b *testing.B) { |
| 114 | colorizer := NewLogBackend(ioutil.Discard, "", 0) |
| 115 | colorizer.Color = true |
| 116 | backend := SetBackend(colorizer) |
| 117 | backend.SetLevel(DEBUG, "") |
| 118 | RunLogBenchmark(b) |
| 119 | } |
| 120 | |
| 121 | func BenchmarkLogLogBackendStdFlags(b *testing.B) { |
| 122 | backend := SetBackend(NewLogBackend(ioutil.Discard, "", log.LstdFlags)) |
nothing calls this directly
no test coverage detected