1.1) حذف XRequestLogger Middleware

- حذف: Modules/xCommons/Middlewares/XRequestLogger.cs (144 خط)
- دلیل: منتقل شده به xLoggingService با بهبوری

1.2) تغییر Extensions
- فایل: XMiddlewareExtensions.cs
- تغییر: حذف متد UseXRequestLogger()
- نتیجه: کلاس اکنون خالی است

1.3) بهبود XLoggerModel
- اضافه: Exception property = null
- تنظیم: ترتیب Properties
This commit is contained in:
2026-11-09 12:49:36 +03:30
parent b9ba57dbfa
commit 0a8f9692dd
3 changed files with 5 additions and 159 deletions
+4 -3
View File
@@ -3,19 +3,20 @@ using Microsoft.AspNetCore.Http;
namespace xCommons.Models {
public class XLoggerModel {
public string Schema { get; set; }
public string Host { get; set; }
public string Path { get; set; }
public string Schema { get; set; }
public string Method { get; set; }
public string UserID { get; set; }
public string QueryString { get; set; }
public IHeaderDictionary Headers { get; set; }
public string Request { get; set; }
public int StatusCode { get; set; }
public bool IsSucceed { get; set; }
public string Response { get; set; }
public string QueryString { get; set; }
public DateTime RequestedOn { get; set; }
public DateTime RespondedOn { get; set; }
public IHeaderDictionary Headers { get; set; }
public Exception Exception { get; set; } = null;
public XLoggerHttpConnection Connection { get; set; }
}