1
0
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:
kataras
2017-08-10 21:34:05 +03:00
parent bf929aa557
commit 85cfaa2874
3 changed files with 10 additions and 6 deletions

View File

@@ -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()
}