Last active
March 2, 2023 08:39
-
-
Save LinZap/9fd8579854283b10c51ddf3c18b6acf9 to your computer and use it in GitHub Desktop.
Revisions
-
LinZap revised this gist
Mar 2, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ```csharp MyLog log = new MyLog("mylog.log"); log.Write("這是一個測試LOG"); Trace.WriteLine(log.LastWritePath); // D:\Storage\mylog.log (最後一次 Log 檔案寫入位置) ``` [回 ZapLib v2.4.3 changelog](https://github.com/LinZap/ZapLib/blob/master/CHANGELOG.md#243) -
LinZap revised this gist
Mar 2, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ```csharp MyLog log = new MyLog("mylog.log"); log.Write("這是一個測試LOG"); Trace.WriteLine(log.LastWritePath); // 最後一次 Log 檔案寫入位置 D:\Storage\mylog.log ``` [回 ZapLib v2.4.3 changelog](https://github.com/LinZap/ZapLib/blob/master/CHANGELOG.md#243) -
LinZap revised this gist
Mar 2, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,3 +12,4 @@ log.Write("這是一個測試LOG"); Trace.WriteLine(log.LastWritePath); // D:\Storage\mylog.log ``` [回 ZapLib v2.4.3 changelog](https://github.com/LinZap/ZapLib/blob/master/CHANGELOG.md#243) -
LinZap revised this gist
Mar 2, 2023 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,10 @@ # MyLog 支援自訂義 Log 檔案副檔名 > 版本:ZapLib v2.4.3 `MyLog` 支援自訂義 Log 檔案副檔名 (原本只能強制 `.txt`) **使用範例** ```csharp MyLog log = new MyLog("mylog.log"); -
LinZap created this gist
Mar 2, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # ZapLib v2.4.3 - `MyLog` 支援自訂義 Log 檔案副檔名 (原本只能強制 `.txt`) 使用範例 ```csharp MyLog log = new MyLog("mylog.log"); log.Write("這是一個測試LOG"); Trace.WriteLine(log.LastWritePath); // D:\Storage\mylog.log ```