public class FileLoggingConfiguration| FileLoggingConfiguration | Initializes a new instance of the FileLoggingConfiguration class |
| ArchiveAboveSize | 單一檔案超過此大小時進行封存 (位元組,預設 10MB = 10485760) |
| ArchiveEvery | 封存週期 (Day, Hour, Minute, Month, Year, None) |
| ArchiveFileName | 封存檔案名稱格式 |
| Encoding | 檔案編碼 (預設: UTF-8) |
| FileName | 檔案名稱格式 |
| KeepFileOpen | 保持檔案開啟狀態 |
| Layout | 日誌格式 (Layout) |
| MaxArchiveDays | 保留封存檔案的最大天數 |
| MaxArchiveFiles | 保留封存檔案的最大數量 (0 表示無限制) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Validate | 驗證配置 |
| CloneT |
跨型別複製物件
(Defined by CoreExtension) |
| ToBsonString |
轉換Bson字串
(Defined by SerializeExtend) |
| ToBsonString |
轉換Bson字串
(Defined by SerializeExtend) |
| ToJsonString |
轉換Json字串
(Defined by SerializeExtend) |
| ToJsonString |
轉換Json字串
(Defined by SerializeExtend) |
| ToXmlString |
轉換Xml字串
(Defined by SerializeExtend) |
| WriteJsonFile |
寫入Json格式檔案
(Defined by SerializeExtend) |
| Date | Version | Description |
|---|---|---|
| 2025/12/16 | 25.0.5.0 | 新增從 appsettings 載入檔案日誌設定功能 |