adding ascii art to server start

This commit is contained in:
Chad Arimura
2017-05-25 09:39:14 -07:00
parent 1c58b24533
commit 8899361545

View File

@@ -211,6 +211,20 @@ func (s *Server) startGears(ctx context.Context) {
if err != nil { if err != nil {
logrus.WithError(err).Fatalln("Failed to serve functions API.") logrus.WithError(err).Fatalln("Failed to serve functions API.")
} }
runHeader := `
____ __
/ __ \_________ ______/ /__
/ / / / ___/ __ / ___/ / _ \
/ /_/ / / / /_/ / /__/ / __/
\_________ \__,_/\___/_/\____
/ ____/_ __ ___ _____/ /_( )___ ____ _____
/ /_ / / / / __ \/ ___/ __/ / __ \/ __ \/ ___/
/ __/ / /_/ / / / / /__/ /_/ / /_/ / / / (__ )
/_/ \____/_/ /_/\___/\__/_/\____/_/ /_/____/
`
logrus.Infof(runHeader)
logrus.Infof("Serving Functions API on address `%s`", listen) logrus.Infof("Serving Functions API on address `%s`", listen)
svr := &supervisor.Supervisor{ svr := &supervisor.Supervisor{