mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:00:49 +00:00
fix the log test
This commit is contained in:
parent
1f26852610
commit
ddbfc25e56
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user