log.Printf istead fmt.Printf to be uniform
This commit is contained in:
parent
be0e022c92
commit
4ecf8538be
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ package server
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
|
@ -198,6 +197,6 @@ func (s *Server) Serve() {
|
|||
|
||||
http.Handle(PathPrometheus, promhttp.Handler())
|
||||
|
||||
fmt.Println("Serving at localhost:8090")
|
||||
log.Println("Serving at localhost:8090")
|
||||
http.ListenAndServe("localhost:8090", nil)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue