优化zap.go代码,修改dubg输出为info输出

This commit is contained in:
SliverHorn
2020-09-16 10:31:56 +08:00
parent 3fbb2ab0ca
commit 759dd34c76
5 changed files with 11 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func RunWindowsServer() {
// 保证文本顺序输出
// In order to ensure that the text order output can be deleted
time.Sleep(10 * time.Microsecond)
global.GVA_LOG.Debug("server run success on ", zap.String("address", address))
global.GVA_LOG.Info("server run success on ", zap.String("address", address))
fmt.Printf(`欢迎使用 Gin-Vue-Admin
默认自动化文档地址:http://127.0.0.1%s/swagger/index.html