You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package grlogs
-
- import (
- "testing"
- "time"
- )
-
- func TestGetLogger(t *testing.T) {
- l := Get("nds", 128)
- l.Debug("我正在调试")
- l.Critical("出错了")
- Get("nds").Warning("hadoee %s", time.Now().Format(time.RFC1123))
- l.Flush()
- }
|