mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Use lowercase for log messages
This commit is contained in:
@@ -25,13 +25,13 @@ func NewServer(options *Options) *Server {
|
||||
func (s *Server) Start() error {
|
||||
// Start server
|
||||
addr := ":" + s.options.Config.Port
|
||||
logging.Info("Starting server", "address", addr)
|
||||
logging.Info("starting server", "address", addr)
|
||||
return http.ListenAndServe(addr, s.router)
|
||||
}
|
||||
|
||||
// Close handles graceful shutdown of server dependencies
|
||||
func (s *Server) Close() error {
|
||||
logging.Info("Shutting down server")
|
||||
logging.Info("shutting down server")
|
||||
return s.options.Database.Close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user