Skip to content

Commit

Permalink
✏️ 调整 log 格式
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama authored and hutiance committed Oct 16, 2021
1 parent 9c03c29 commit be037aa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions control/gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ func controller() {
}
}()

if log.GetLevel() != log.DebugLevel {
gin.SetMode(gin.ReleaseMode)
gin.DefaultWriter = io.Discard
}

engine := gin.New()
// 支持跨域
engine.Use(cors())
Expand Down

0 comments on commit be037aa

Please sign in to comment.