AutoTf.Logging
1.0.0-develop-20250331-1405
See the version list below for details.
dotnet add package AutoTf.Logging --version 1.0.0-develop-20250331-1405
NuGet\Install-Package AutoTf.Logging -Version 1.0.0-develop-20250331-1405
<PackageReference Include="AutoTf.Logging" Version="1.0.0-develop-20250331-1405" />
<PackageVersion Include="AutoTf.Logging" Version="1.0.0-develop-20250331-1405" />
<PackageReference Include="AutoTf.Logging" />
paket add AutoTf.Logging --version 1.0.0-develop-20250331-1405
#r "nuget: AutoTf.Logging, 1.0.0-develop-20250331-1405"
#:package AutoTf.Logging@1.0.0-develop-20250331-1405
#addin nuget:?package=AutoTf.Logging&version=1.0.0-develop-20250331-1405&prerelease
#tool nuget:?package=AutoTf.Logging&version=1.0.0-develop-20250331-1405&prerelease
AutoTF.Logging
A really really simple Logger that is used in several AutoTF Applications/Packages.
Logs to "/var/log/AutoTF/HostName/Date"
It's mainly based on Linux systems, but can run on Windows too without writing to any files.
To use it on windows, and still see logs from packages, set the "logToConsole" bool to true in the Logger ctor.
Using the logger
To use the logger, you just have to initialize it, and use it using it's Log method.
private Logger _logger = new Logger(logToConsole: false);
_logger.Log("Hello world");
Redirecting logs
To redirect logs and use them yourself too, you can hook yourself onto the NewLog event.
_logger.NewLog += NewLog;
private void NewLog(string obj)
{
Console.WriteLine(obj);
}
Info & Contributions
Further documentation can be seen in AutoTF-Rail/AutoTf-Documentation
Would you like to contribute to this project, or noticed something wrong?
Feel free to contact us at opensource@autotf.de
| 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
- 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-develop-20250407-1018 | 198 | 4/7/2025 | |
| 1.0.0-develop-20250407-1003 | 184 | 4/7/2025 | |
| 1.0.0-develop-20250407-0948 | 183 | 4/7/2025 | |
| 1.0.0-develop-20250331-1411 | 173 | 3/31/2025 | |
| 1.0.0-develop-20250331-1405 | 183 | 3/31/2025 | |
| 1.0.0-develop-20250317-0759 | 182 | 3/17/2025 | |
| 1.0.0-develop-20250221-1214 | 130 | 2/21/2025 | |
| 1.0.0-develop-20250106-1316 | 129 | 1/6/2025 | |
| 1.0.0-2024.12.19.12.49.39 | 180 | 12/19/2024 |