Dinocollab.LoggerProvider
1.0.6
dotnet add package Dinocollab.LoggerProvider --version 1.0.6
NuGet\Install-Package Dinocollab.LoggerProvider -Version 1.0.6
<PackageReference Include="Dinocollab.LoggerProvider" Version="1.0.6" />
<PackageVersion Include="Dinocollab.LoggerProvider" Version="1.0.6" />
<PackageReference Include="Dinocollab.LoggerProvider" />
paket add Dinocollab.LoggerProvider --version 1.0.6
#r "nuget: Dinocollab.LoggerProvider, 1.0.6"
#:package Dinocollab.LoggerProvider@1.0.6
#addin nuget:?package=Dinocollab.LoggerProvider&version=1.0.6
#tool nuget:?package=Dinocollab.LoggerProvider&version=1.0.6
Dinocollab.LoggerProvider
Dinocollab.LoggerProvider is a lightweight logging provider for .NET applications. It can forward logs to supported backends (for example, QuestDB). This README explains installation, package metadata required for the NuGet "Get" link, and provides a usage example.
Repository: https://github.com/dinolibraries/Dinocollab.LoggerProvider
NuGet "Get" link
The NuGet package page shows a "Get" button and project links based on package metadata in the project file. Make sure your *.csproj contains the following properties so the NuGet page links back to this repository:
<PropertyGroup>
<PackageProjectUrl>https://github.com/dinolibraries/Dinocollab.LoggerProvider</PackageProjectUrl>
<RepositoryUrl>https://github.com/dinolibraries/Dinocollab.LoggerProvider</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
Note: PackageReadmeFile has been added to the library project so this README will be included in the NuGet package.
Installation
Install from NuGet with the dotnet CLI:
dotnet add package Dinocollab.LoggerProvider
Or add a PackageReference to your project file:
<ItemGroup>
<PackageReference Include="Dinocollab.LoggerProvider" Version="*" />
</ItemGroup>
Usage
Register the QuestDB logger provider in Program.cs (example):
builder.Services.AddQuestDBLoggerProvider(option =>
{
option.ConnectionString = "tcp::addr=localhost:9009;";
//option.ConnectionString = "http::addr=localhost:9000;";
option.ApiUrl = "http://localhost:9000";
option.TableLogName = "berlintomek";
});
app.UseQuestDBLoggerProvider();
Notes:
ConnectionStringmay usetcp::addr=host:port;orhttp::addr=host:port;depending on transport.ApiUrlis the HTTP endpoint (if using the HTTP API).TableLogNameis the destination table/stream name for logs.
See the Dinocollab.LoggerProvider/QuestDB folder for helper classes and configuration options.
Contributing
Contributions are welcome — please open issues or submit pull requests on GitHub.
License
See the LICENSE file in this repository for license information. If you'd like, I can add a license file.
Would you like me to commit these changes now?
*** End Patch
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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 is compatible. 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. |
-
net10.0
- net-questdb-client (>= 3.2.0)
- Newtonsoft.Json (>= 13.0.1)
-
net7.0
- net-questdb-client (>= 3.2.0)
- Newtonsoft.Json (>= 13.0.1)
-
net8.0
- net-questdb-client (>= 3.2.0)
- Newtonsoft.Json (>= 13.0.1)
-
net9.0
- net-questdb-client (>= 3.2.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.