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