TigerSan.CsvLog
1.2.0
dotnet add package TigerSan.CsvLog --version 1.2.0
NuGet\Install-Package TigerSan.CsvLog -Version 1.2.0
<PackageReference Include="TigerSan.CsvLog" Version="1.2.0" />
<PackageVersion Include="TigerSan.CsvLog" Version="1.2.0" />
<PackageReference Include="TigerSan.CsvLog" />
paket add TigerSan.CsvLog --version 1.2.0
#r "nuget: TigerSan.CsvLog, 1.2.0"
#:package TigerSan.CsvLog@1.2.0
#addin nuget:?package=TigerSan.CsvLog&version=1.2.0
#tool nuget:?package=TigerSan.CsvLog&version=1.2.0
1. Description:
A class library for logging in CSV format.
2. Configuration File:
Before using it, a file named CsvLog.config needs to be created in the root directory of the main program.
If this file is not created, the program will automatically create a default configuration file.
3. Console:
While writing the logs to the CSV file, they will also be output in the console.
2025-06-21 15:38:54
Type: "LOG"
FilePath: "D:\0 File\0 Object\0 C#\TigerSan.CsvLog\Test\LogTest.cs"
MemberName: "WriteLog"
LineNumber: 14
Log: "Log test."
4. Classes:
LogData:
Log data.
_timeFormat: Timestamp format.
Time: Timestamp.
Type: Log type.
MemberName: Member name.
FilePath: File path.
LineNumber: Line number.
Log: Log content.
LogHelper:
Log help class.
Fields:
_logDir: Log directory.
_fileName: File name.
_appStartupPath: Application startup path.
Properties:
Instance: LogHelper instance.
Methods:
HelperError: Internal error of LogHelper.
Log: Normal log.
Warning: Warning log.
Error: Error log.
DeleteLog: Delete the log of the day.
DeleteFolder: Delete the log folder.
Additional Methods:
IsNull: $"The {name} is null!".
IsEmpty: $"The {name} is empty!".
IsNullOrEmpty: $"The {name} is null or empty!".
IsOutOfRange: $"The {name} is out of range!".
IsNotContain: $"The {listName} does not contain {itemName}!".
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CsvHelper (>= 33.0.1)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on TigerSan.CsvLog:
| Package | Downloads |
|---|---|
|
TigerSan.UI
A WPF UI library, containing many controls, panels, windows, animations, and converters. |
|
|
TigerSan.PathOperation
The class library used for path and exe operations. |
|
|
TigerSan.KeyboardMouseHook
A WPF library of keyboard hook, mouse hook and combination key. |
|
|
TigerSan.ImageOperation
A WPF class library for image operations. |
|
|
TigerSan.JsonConfig
A class library for operating JSON configuration. |
GitHub repositories
This package is not used by any popular GitHub repositories.