mirror of https://github.com/sirupsen/logrus.git
deadcode
This commit is contained in:
parent
46015a925f
commit
d12cdc065f
|
@ -6,14 +6,6 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
// smallFields is a small size data set for benchmarking
|
||||
var loggerFields = Fields{
|
||||
"foo": "bar",
|
||||
"baz": "qux",
|
||||
"one": "two",
|
||||
"three": "four",
|
||||
}
|
||||
|
||||
func BenchmarkDummyLogger(b *testing.B) {
|
||||
nullf, err := os.OpenFile("/dev/null", os.O_WRONLY, 0666)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue