From 246ba9d1826ffca92328da7784740ec56121d8fe Mon Sep 17 00:00:00 2001 From: C9Glax <13404778+C9Glax@users.noreply.github.com> Date: Sun, 13 Nov 2022 15:03:35 +0100 Subject: [PATCH] Added log --- Executable/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Executable/Program.cs b/Executable/Program.cs index 2adf137..15eae09 100644 --- a/Executable/Program.cs +++ b/Executable/Program.cs @@ -17,4 +17,5 @@ do n2 = graph[graph.Keys.ElementAt(r.Next(0, graph.Count - 1))]; _route = Astar.FindPath(ref graph, n1, n2, logger); } while (!_route.routeFound); + logger.Log(LogLevel.INFO, "Press Enter to find new path."); } while (Console.ReadKey().Key.Equals(ConsoleKey.Enter)); \ No newline at end of file