public class LogHelper : ILogHelper| LogHelper | 預設建構函式 |
| LogHelper(ILogger) | 指定Logger建構函式 |
| LogHelper(Type) | 指定類型建構函式 |
| IsConfigured | 檢查是否已手動配置 |
| Configure | 配置日誌(可選) |
| Debug | Debug等級紀錄 |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Error | Error等級紀錄 |
| Exception | Exception紀錄 |
| Fatal | Fatal等級紀錄 |
| 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) |
| GetLogger | 取得預設紀錄 |
| GetLogger(String) | 建立新紀錄 |
| GetLogger(Type) | 建立新紀錄 |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Info | Info等級紀錄 |
| LoadEnvironmentConfiguration | 手動載入環境別配置 |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| setDebugFileName | 設定預設Debug紀錄檔案名稱 |
| setErrorFileName | 設定預設Error記錄檔案名稱 |
| setFatalFileName | 設定預設Fatal記錄檔案名稱 |
| setInfoFileName | 設定預設Info記錄檔案名稱 |
| setTraceFileName | 設定預設Trace紀錄檔案名稱 |
| setWarnFileName | 設定預設Warn記錄檔案名稱 |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Trace | Trace等級紀錄 |
| Warn | Warn等級紀錄 |
| 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 |
|---|---|---|
| 2020/02/07 | 1.0.0.0 | 初版 |
| 2025/09/19 | 25.0.0.0 | 彙整2025年度初版 |
| 2025/12/08 | 25.0.3.0 | 支援DI、環境變數、環境別配置檔 |