mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
Prev Commit: Update to 8.2.3 | Read HISTORY.md | Now: Improve version checker's messages
Former-commit-id: 2d773e9ef04ce4595167eb57784fc9113aeccab0
This commit is contained in:
2
iris.go
2
iris.go
@@ -648,7 +648,7 @@ func (app *Application) Run(serve Runner, withOrWithout ...Configurator) error {
|
||||
app.Configure(withOrWithout...)
|
||||
app.logger.Debugf("Application: running using %d host(s)", len(app.Hosts)+1)
|
||||
|
||||
if !app.config.DisableVersionChecker && app.logger.Printer.IsTerminal {
|
||||
if !app.config.DisableVersionChecker && app.logger.Level != golog.DisableLevel {
|
||||
go CheckVersion()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user