mirror of
https://github.com/kataras/iris.git
synced 2026-01-03 02:07:06 +00:00
include iris version, build time & revision to the startuplog when enabled
This commit is contained in:
@@ -27,7 +27,7 @@ func WriteStartupLogOnServe(w io.Writer) func(TaskHost) {
|
||||
addr = h.Supervisor.Server.Addr
|
||||
}
|
||||
listeningURI := netutil.ResolveURL(guessScheme, addr)
|
||||
_, _ = fmt.Fprintf(w, "Now listening on: %s\nApplication started. Press CTRL/CMD+C to shut down.\n",
|
||||
_, _ = fmt.Fprintf(w, "Now listening on: %s\nApplication started. Press CTRL+C to shut down.\n",
|
||||
listeningURI)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user