MCPcopy
hub / github.com/sirupsen/logrus / BenchmarkErrorTextFormatter

Function BenchmarkErrorTextFormatter

formatter_bench_test.go:54–56  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

52}
53
54func BenchmarkErrorTextFormatter(b *testing.B) {
55 doBenchmark(b, &TextFormatter{DisableColors: true}, errorFields)
56}
57
58func BenchmarkSmallTextFormatter(b *testing.B) {
59 doBenchmark(b, &TextFormatter{DisableColors: true}, smallFields)

Callers

nothing calls this directly

Calls 1

doBenchmarkFunction · 0.85

Tested by

no test coverage detected