We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf5a29 commit ac6f2a4Copy full SHA for ac6f2a4
Program.cs
@@ -60,6 +60,8 @@ private static async Task Main(string[] args)
60
_logger = serviceProvider.GetRequiredService<ILogger<Program>>();
61
Log.LogInformation("Application Starting");
62
63
+ Log.WriteMessage += s => _logger.LogInformation(s);
64
+
65
//Start the host.. This runs background services.
66
// We don't await host.RunAsync() because its a blocking call
67
// and we need to run the Windforms message loop.
0 commit comments