grlogs/log_test.go

12 lines
201 B
Go
Raw Normal View History

2020-04-01 11:38:28 +08:00
package grlogs
import (
"testing"
)
func TestGetLogger(t *testing.T) {
GetLogger("nds").Debug("我正在调试")
GetLogger("nds").Critical("出错了")
GetLogger("wifi").Critical("hello wifi")
2020-04-01 11:38:28 +08:00
}