1
0
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:
kataras
2022-05-04 13:52:51 +03:00
parent 3b95c85d3d
commit e42cd43271
6 changed files with 242 additions and 13 deletions

View File

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