From 4212ffd7315a10db0645ecda7b1441f2830e032c Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 14 Nov 2024 14:39:53 -0600 Subject: [PATCH] fix(cmd): Fix quit log being ignored --- cmd/cmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cmd.go b/cmd/cmd.go index 5d62c6b..a5d5ff7 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -94,6 +94,7 @@ func run(cmd *cobra.Command, args []string) error { slog.Info("Starting game") config.InitLog(slog.LevelWarn) _, err := program.Run() + config.InitLog(slog.LevelInfo) slog.Info("Quitting game") return err }