From 0cd981a1ba60f03a5f33d5ac58d7e9ab2d8ecd26 Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Fri, 26 Jul 2024 22:23:50 -0400 Subject: [PATCH] feat: log when starting server Signed-off-by: Matt Gleich --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 1745f59..2f44606 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "context" + "log" "net/http" "time" @@ -75,6 +76,8 @@ func main() { lumber.Success("init steam cache") go steamCache.PeriodicUpdate(steam.FetchRecentlyPlayedGames, 5*time.Minute) + log.Println() + lumber.Info("STARTING SERVER") err = http.ListenAndServe(":8000", r) if err != nil { lumber.Fatal(err, "failed to start router")