mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-03 00:38:40 +08:00
gofmt logs (#574)
This commit is contained in:
parent
52b4f8ca91
commit
c0db8d017d
@ -20,7 +20,6 @@ import (
|
||||
"github.com/tal-tech/go-zero/core/iox"
|
||||
"github.com/tal-tech/go-zero/core/sysx"
|
||||
"github.com/tal-tech/go-zero/core/timex"
|
||||
|
||||
)
|
||||
|
||||
const (
|
||||
@ -120,6 +119,7 @@ func SetUp(c LogConf) error {
|
||||
if len(c.TimeFormat) > 0 {
|
||||
timeFormat = c.TimeFormat
|
||||
}
|
||||
|
||||
switch c.Mode {
|
||||
case consoleMode:
|
||||
setupWithConsole(c)
|
||||
|
Loading…
Reference in New Issue
Block a user