(b *testing.B)
| 110 | } |
| 111 | |
| 112 | func BenchmarkStringerField(b *testing.B) { |
| 113 | withBenchedLogger(b, func(log *Logger) { |
| 114 | log.Info("Level.", Stringer("foo", InfoLevel)) |
| 115 | }) |
| 116 | } |
| 117 | |
| 118 | func BenchmarkTimeField(b *testing.B) { |
| 119 | t := time.Unix(0, 0) |
nothing calls this directly
no test coverage detected