pinqloq 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package pinqloq --version 1.0.2
                    
NuGet\Install-Package pinqloq -Version 1.0.2
                    
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="pinqloq" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="pinqloq" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="pinqloq" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add pinqloq --version 1.0.2
                    
#r "nuget: pinqloq, 1.0.2"
                    
#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.
#:package pinqloq@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=pinqloq&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=pinqloq&version=1.0.2
                    
Install as a Cake Tool

ClientLogs.Client

Lightweight .NET SDK that buffers API logs in-memory and ships them in batches to a LogPanel ingest endpoint.

Customers never need RabbitMQ credentials — only HTTPS + an API key.

Installation

dotnet add package ClientLogs.Client

Quick Start

// Program.cs
builder.Services.AddClientLogIngest(options =>
{
    options.BaseAddress    = "https://your-log-panel.example.com";
    options.AuthName       = "your-api-name";
    options.AuthPassword   = "your-api-password";
    options.CollectionName = "my_app_logs"; // optional
});

app.UseApiClientLogging(); // auto-captures every HTTP request

Manual logging

public class OrderService(IClientLogClient logs)
{
    public async Task CreateOrder(Order order)
    {
        // Fire-and-forget (batched → /bulk)
        logs.Enqueue(new ClientLogEntry
        {
            Message       = $"Order created: {order.Id}",
            LogLevel      = ClientLogLevel.Info,
            LogSourceType = ClientLogSourceType.Api
        });

        // Immediate + awaitable (→ /client-logs)
        await logs.SendAsync(new ClientLogEntry
        {
            Message       = $"Payment failed: {order.Id}",
            LogLevel      = ClientLogLevel.Error,
            LogSourceType = ClientLogSourceType.Api
        });
    }
}

How it works

  • UseApiClientLogging() captures every incoming HTTP request and calls Enqueue internally.
  • A background service drains the in-memory channel every 200 logs or 2 seconds (whichever comes first) and POSTs to /api/client-logs/bulk.
  • Auth is handled automatically: SDK logs in with AuthName/AuthPassword, caches the JWT, and refreshes on expiry or 401.
  • On graceful shutdown, remaining buffered logs are flushed before the process exits.

Options

Property Default Description
BaseAddress (required) LogPanel server base URL
AuthName (required) API credential name
AuthPassword (required) API credential password
CollectionName null Target log collection (queue)
BatchSize 200 Max logs per HTTP request
FlushInterval 00:00:02 Max wait before flushing
QueueCapacity 10000 In-memory channel capacity
HttpTimeout 00:00:10 HTTP request timeout
AppVersionName null App version tag on every log

License

MIT

Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on pinqloq:

Package Downloads
Pinqponq.Observability

Pinqloq logging for ASP.NET Core: one structured record per request (redacted request/response bodies, route-based event names, error detail from Pinqponq.ErrorHandling), and an ILogService for application and job logs with stack trace trimming.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.3.2 407 9/14/2026
4.3.1 134 9/9/2026
4.3.0 1,887 9/8/2026
4.2.0 568 9/1/2026
4.1.0 236 8/25/2026
4.0.3 268 8/6/2026
4.0.2 354 7/22/2026
4.0.1 140 7/21/2026
4.0.0 135 7/20/2026
3.0.0 141 7/14/2026
2.0.8 171 7/14/2026
2.0.7 293 7/6/2026
2.0.6 128 7/6/2026
2.0.5 200 7/6/2026
2.0.4 140 7/6/2026
2.0.3 190 7/2/2026
2.0.2 139 7/2/2026
2.0.1 152 7/1/2026
2.0.0 226 6/23/2026
1.0.2 143 6/19/2026
Loading failed