From 1aafb68b5a50a0469af0e66797c90c58af12009c Mon Sep 17 00:00:00 2001 From: loser <1711788888@qq.com> Date: Tue, 6 Sep 2022 16:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'logger=5Ftest.go'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logger_test.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 logger_test.go diff --git a/logger_test.go b/logger_test.go deleted file mode 100644 index ecc7aa3..0000000 --- a/logger_test.go +++ /dev/null @@ -1,23 +0,0 @@ -package logger - -import ( - "gitee.ltd/lxh/logger/log" - "testing" - "time" -) - -func TestLogger(t *testing.T) { - InitLogger(LogConfig{Mode: Dev, LokiEnable: false, FileEnable: true}) - log.Debug("芜湖") -} - -func TestLogger1(t *testing.T) { - log.Info("我是测试消息") - time.Sleep(5 * time.Second) -} - -func TestLogger2(t *testing.T) { - InitLogger(LogConfig{Mode: Dev, LokiEnable: false, FileEnable: true}) - log.Info("我是测试消息") - //time.Sleep(5 * time.Second) -}