1
0
mirror of https://github.com/astaxie/beego.git synced 2025-01-10 14:37:13 +00:00
Beego/logs/conn_test.go

12 lines
166 B
Go
Raw Permalink Normal View History

2013-08-27 23:48:58 +08:00
package logs
import (
"testing"
)
func TestConn(t *testing.T) {
log := NewLogger(1000)
log.SetLogger("conn", `{"net":"tcp","addr":":7020"}`)
log.Info("info")
}