diff --git a/WebSharpRSS/Program.cs b/WebSharpRSS/Program.cs index 2854e78..63cfdf3 100644 --- a/WebSharpRSS/Program.cs +++ b/WebSharpRSS/Program.cs @@ -3,6 +3,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using MudBlazor; using MudBlazor.Services; +using Serilog; using SharpRss.Services; using WebSharpRSS; using WebSharpRSS.Models; @@ -10,6 +11,7 @@ using WebSharpRSS.Models; Bootstrapper.Bootstrap(); var builder = WebApplication.CreateBuilder(args); +builder.Logging.AddSerilog(); builder.Services.AddRazorPages(); builder.Services.AddServerSideBlazor(); builder.Services.AddSingleton(); diff --git a/WebSharpRSS/WebSharpRSS.csproj b/WebSharpRSS/WebSharpRSS.csproj index 584f102..1598710 100644 --- a/WebSharpRSS/WebSharpRSS.csproj +++ b/WebSharpRSS/WebSharpRSS.csproj @@ -17,6 +17,7 @@ +