Commit 1636a727 authored by astaxie's avatar astaxie

Revert "fix the log test"

This reverts commit ddbfc25e.
parent 68c3bdfd
......@@ -34,6 +34,7 @@ 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)
......@@ -44,6 +45,7 @@ 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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment