fix the log test
Showing
1 changed file
with
0 additions
and
2 deletions
| ... | @@ -34,7 +34,6 @@ func testConsoleCalls(bl *BeeLogger) { | ... | @@ -34,7 +34,6 @@ func testConsoleCalls(bl *BeeLogger) { |
| 34 | // without a log level specification. | 34 | // without a log level specification. |
| 35 | func TestConsole(t *testing.T) { | 35 | func TestConsole(t *testing.T) { |
| 36 | log1 := NewLogger(10000) | 36 | log1 := NewLogger(10000) |
| 37 | log1.EnableFuncCallDepth(true) | ||
| 38 | log1.SetLogger("console", "") | 37 | log1.SetLogger("console", "") |
| 39 | testConsoleCalls(log1) | 38 | testConsoleCalls(log1) |
| 40 | 39 | ||
| ... | @@ -45,7 +44,6 @@ func TestConsole(t *testing.T) { | ... | @@ -45,7 +44,6 @@ func TestConsole(t *testing.T) { |
| 45 | 44 | ||
| 46 | func BenchmarkConsole(b *testing.B) { | 45 | func BenchmarkConsole(b *testing.B) { |
| 47 | log := NewLogger(10000) | 46 | log := NewLogger(10000) |
| 48 | log.EnableFuncCallDepth(true) | ||
| 49 | log.SetLogger("console", "") | 47 | log.SetLogger("console", "") |
| 50 | for i := 0; i < b.N; i++ { | 48 | for i := 0; i < b.N; i++ { |
| 51 | log.Debug("debug") | 49 | log.Debug("debug") | ... | ... |
-
Please register or sign in to post a comment