初始化日志目录

This commit is contained in:
Yun
2024-04-03 21:18:44 +08:00
parent c476c2e907
commit cb25b524b8
2 changed files with 22 additions and 2 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ func TestLogger(t *testing.T) {
l.Error(context.Background(), "test error")
l.Channel("channel").Error(context.Background(), "test error")
l.Channel("channel1").Error(context.Background(), "channel1 test error")
l.Channel("channel2").Error(context.Background(), "channel2 test error")
l.Info(context.Background(), "test info")