删除 'logger_test.go'
This commit is contained in:
parent
6eac4aad88
commit
1aafb68b5a
@ -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)
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user