mirror of
https://github.com/cadmium-im/zirconium-go.git
synced 2024-11-23 10:52:24 +00:00
Change logger in main.go
This commit is contained in:
parent
5e094d6c45
commit
eb948ed5bd
@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/ChronosX88/zirconium/internal"
|
||||
"github.com/google/logger"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/websocket"
|
||||
)
|
||||
@ -24,8 +25,8 @@ func main() {
|
||||
}).Methods("GET")
|
||||
router.HandleFunc("/ws", wsHandler)
|
||||
|
||||
log.Println("Zirconium successfully started!")
|
||||
log.Fatal(http.ListenAndServe(":8844", router))
|
||||
logger.Info("Zirconium successfully started!")
|
||||
logger.Fatal(http.ListenAndServe(":8844", router))
|
||||
}
|
||||
|
||||
func wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
Loading…
Reference in New Issue
Block a user