mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:20:50 +00:00
console type no need to bench
This commit is contained in:
parent
391f897eb1
commit
e32e3a759c
@ -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")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user