1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 13:03:29 +00:00

console type no need to bench

This commit is contained in:
JessonChan 2016-01-12 17:46:10 +08:00
parent 391f897eb1
commit e32e3a759c

View File

@ -43,11 +43,3 @@ func TestConsole(t *testing.T) {
testConsoleCalls(log2)
}
func BenchmarkConsole(b *testing.B) {
log := NewLogger(10000)
log.EnableFuncCallDepth(true)
log.SetLogger("console", "")
for i := 0; i < b.N; i++ {
log.Debug("debug")
}
}