From ddbfc25e56900fe03ff7c8f6d3886802f3a880dd Mon Sep 17 00:00:00 2001 From: astaxie Date: Tue, 28 Oct 2014 19:34:11 +0800 Subject: [PATCH] fix the log test --- logs/console_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/logs/console_test.go b/logs/console_test.go index 2fad7241..167a007a 100644 --- a/logs/console_test.go +++ b/logs/console_test.go @@ -34,7 +34,6 @@ func testConsoleCalls(bl *BeeLogger) { // without a log level specification. func TestConsole(t *testing.T) { log1 := NewLogger(10000) - log1.EnableFuncCallDepth(true) log1.SetLogger("console", "") testConsoleCalls(log1) @@ -45,7 +44,6 @@ func TestConsole(t *testing.T) { func BenchmarkConsole(b *testing.B) { log := NewLogger(10000) - log.EnableFuncCallDepth(true) log.SetLogger("console", "") for i := 0; i < b.N; i++ { log.Debug("debug")