เพิ่มเติม function การเขียน log

This commit is contained in:
Suphonchai Phoonsawat 2025-03-26 11:43:26 +07:00
parent 54e634d006
commit 92451af236
3 changed files with 149 additions and 16 deletions

View file

@ -162,7 +162,7 @@ app.UseStaticFiles();
app.MapControllers();
app.UseMiddleware<ErrorHandlerMiddleware>();
// Disable ก่อน เพื่อแก้ไขให้เรีบร้อยก่อนการใช้งาน
// app.UseMiddleware<RequestLoggingMiddleware>();
app.UseMiddleware<RequestLoggingMiddleware>();
app.UseHangfireDashboard("/hangfire", new DashboardOptions()