Tools.LogRecord
1.0.0
dotnet add package Tools.LogRecord --version 1.0.0
NuGet\Install-Package Tools.LogRecord -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tools.LogRecord" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tools.LogRecord --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tools.LogRecord, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Tools.LogRecord as a Cake Addin
#addin nuget:?package=Tools.LogRecord&version=1.0.0
// Install Tools.LogRecord as a Cake Tool
#tool nuget:?package=Tools.LogRecord&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tools.LogRecord
A library made by Qing-Yi Studio to make it easier to record logs or record the output.
Attention:
- 1.0.0 and later are for .NET 8.0
Usage:
void LogRecordExampleUsage()
{
// Create a logger instance
LogRecord logRecord = new LogRecord("logs");
// single
logRecord.WriteSingleLogFile("logs", "md5", "This is a debug message.", "Another debug message.");
// user-defined
logRecord.WriteCustomLogFile("CustomLogs", "custom.log", "none", "Custom log entry 1", "Custom log entry 2");
}
void OutputExample()
{
Output.WriteToFile("output.txt", "This is a single line of output.");
string multiLineContent = @"This is a
multi-line
output.";
Output.WriteToFile("output.txt", multiLineContent);
}
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 101 | 3/10/2024 |