mirror of
https://github.com/astaxie/beego.git
synced 2024-12-28 17:15:46 +00:00
12 lines
166 B
Go
12 lines
166 B
Go
|
package logs
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestConn(t *testing.T) {
|
||
|
log := NewLogger(1000)
|
||
|
log.SetLogger("conn", `{"net":"tcp","addr":":7020"}`)
|
||
|
log.Info("info")
|
||
|
}
|