From 91476907f01a70739c250462f402667c4a6f84f5 Mon Sep 17 00:00:00 2001 From: max Date: Sat, 30 Nov 2024 18:56:24 +0100 Subject: [PATCH] [CHANGE] Update test WebApi --- TestWebApi/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TestWebApi/Program.cs b/TestWebApi/Program.cs index 25a52d2..32c7f05 100644 --- a/TestWebApi/Program.cs +++ b/TestWebApi/Program.cs @@ -16,7 +16,7 @@ var serilogLogger = SetupSerilog(); LogService.AddLogAdapter(new BasedSerilogAdapter(serilogLogger)); builder.Logging.ClearProviders(); -builder.Logging.AddDotBased(LogService.Options); +builder.Logging.AddDotBasedLoggerProvider(LogService.Options); // Add services to the container. // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle @@ -25,8 +25,6 @@ builder.Services.AddSwaggerGen(); var app = builder.Build(); - - // Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) {