13 lines
194 B
Go
13 lines
194 B
Go
package grlogs
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestGetLogger(t *testing.T) {
|
|
l := GetLogger("nds")
|
|
l.Debug("我正在调试")
|
|
l.Critical("出错了")
|
|
GetLogger("wifi").Critical("hello wifi")
|
|
}
|