瀏覽代碼

gofmt logs (#574)

Kevin Wan 4 年之前
父節點
當前提交
c0db8d017d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/logx/logs.go

+ 1 - 1
core/logx/logs.go

@@ -20,7 +20,6 @@ import (
 	"github.com/tal-tech/go-zero/core/iox"
 	"github.com/tal-tech/go-zero/core/iox"
 	"github.com/tal-tech/go-zero/core/sysx"
 	"github.com/tal-tech/go-zero/core/sysx"
 	"github.com/tal-tech/go-zero/core/timex"
 	"github.com/tal-tech/go-zero/core/timex"
-
 )
 )
 
 
 const (
 const (
@@ -120,6 +119,7 @@ func SetUp(c LogConf) error {
 	if len(c.TimeFormat) > 0 {
 	if len(c.TimeFormat) > 0 {
 		timeFormat = c.TimeFormat
 		timeFormat = c.TimeFormat
 	}
 	}
+
 	switch c.Mode {
 	switch c.Mode {
 	case consoleMode:
 	case consoleMode:
 		setupWithConsole(c)
 		setupWithConsole(c)