builder.Services.AddHttpLogging(options => { }); var app = builder.Build(); app.UseHttpLogging(); app.MapControllers(); app.Run();