grlogs/log_test.go

12 lines
201 B
Go

package grlogs
import (
"testing"
)
func TestGetLogger(t *testing.T) {
GetLogger("nds").Debug("我正在调试")
GetLogger("nds").Critical("出错了")
GetLogger("wifi").Critical("hello wifi")
}