From 9877f3886e37de85cd26b6ca366492cac360eeec Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 26 Jul 2025 18:44:39 +0100 Subject: [PATCH] Add debug logs. --- RomRepoMgr.Blazor/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RomRepoMgr.Blazor/Program.cs b/RomRepoMgr.Blazor/Program.cs index 93240e4..cc77f6a 100644 --- a/RomRepoMgr.Blazor/Program.cs +++ b/RomRepoMgr.Blazor/Program.cs @@ -13,7 +13,9 @@ Log.Logger = new LoggerConfiguration() .CreateLogger(); Log.Information("Welcome to ROM Repository Manager!"); +Log.Information("Copyright © 2020-2025 Natalia Portillo"); +Log.Debug("Creating the builder..."); var builder = WebApplication.CreateBuilder(args); builder.Host.UseSerilog(); // ✅ Plug Serilog into the host @@ -22,6 +24,7 @@ builder.Host.UseSerilog(); // ✅ Plug Serilog into the host builder.Services.AddRazorComponents().AddInteractiveServerComponents(); builder.Services.AddFluentUIComponents(); +Log.Debug("Building the application..."); var app = builder.Build(); // Configure the HTTP request pipeline. @@ -38,4 +41,5 @@ app.UseAntiforgery(); app.MapStaticAssets(); app.MapRazorComponents().AddInteractiveServerRenderMode(); +Log.Debug("Running the application..."); app.Run(); \ No newline at end of file