var app = builder.Build(); ... app.UseSerilogRequestLogging(); ... app.Run();