finish logs module

This commit is contained in:
astaxie
2013-08-27 23:48:58 +08:00
parent 49bbca0ce3
commit f92973794e
9 changed files with 788 additions and 0 deletions

11
logs/conn_test.go Normal file
View File

@@ -0,0 +1,11 @@
package logs
import (
"testing"
)
func TestConn(t *testing.T) {
log := NewLogger(1000)
log.SetLogger("conn", `{"net":"tcp","addr":":7020"}`)
log.Info("info")
}