2
0
mirror of https://gitee.ltd/lxh/logger.git synced 2026-05-09 07:55:48 +08:00

🐛 Fix a bug.

This commit is contained in:
李寻欢
2022-05-18 18:53:17 +08:00
parent 4e2f8f6466
commit ebae5c29cd
3 changed files with 7 additions and 6 deletions

View File

@@ -8,11 +8,11 @@ import (
func TestLogger(t *testing.T) {
InitLogger(LogConfig{Mode: Dev, LokiEnable: false, FileEnable: true})
Say.Debug("芜湖")
log.Debug("芜湖")
}
func TestLogger1(t *testing.T) {
Say.Info("我是测试消息")
log.Info("我是测试消息")
time.Sleep(5 * time.Second)
}