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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user