haiwai-grlogs/log_test.go

13 lines
194 B
Go
Raw Normal View History

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