Y10.Foundation.Logging.Client
1.10.0
dotnet add package Y10.Foundation.Logging.Client --version 1.10.0
NuGet\Install-Package Y10.Foundation.Logging.Client -Version 1.10.0
<PackageReference Include="Y10.Foundation.Logging.Client" Version="1.10.0" />
<PackageVersion Include="Y10.Foundation.Logging.Client" Version="1.10.0" />
<PackageReference Include="Y10.Foundation.Logging.Client" />
paket add Y10.Foundation.Logging.Client --version 1.10.0
#r "nuget: Y10.Foundation.Logging.Client, 1.10.0"
#:package Y10.Foundation.Logging.Client@1.10.0
#addin nuget:?package=Y10.Foundation.Logging.Client&version=1.10.0
#tool nuget:?package=Y10.Foundation.Logging.Client&version=1.10.0
Y10.Foundation.Logging.Client
Non-blocking client library for sending application logs to Y10.Foundation.Logging.API.
Public API
The existing consumer API remains unchanged:
_logger.Info("Start operation");
_logger.Warn("Unexpected state");
_logger.Error("Operation failed", exception);
_logger.Debug("Diagnostic information");
Delivery model
The client writes to a bounded in-memory Channel<LogRequest> and a hosted background worker sends batches to:
POST /api/v1/logs/batch
The application thread is never blocked by an HTTP call. When the client queue is full, the new log record is dropped.
Configuration
{
"CentralLogging": {
"Endpoint": "http://localhost:5080",
"ServiceName": "Y10.Test.Client",
"ServiceVersion": "1.0.0",
"QueueCapacity": 4096,
"BatchSize": 100,
"BatchIntervalMilliseconds": 250,
"HttpTimeoutMilliseconds": 2000,
"MaxRetryAttempts": 2,
"RetryDelayMilliseconds": 250
}
}
Invalid endpoints are not silently replaced with localhost.
Correlation information is read only from explicit Activity baggage keys correlation.id or correlationId.
| 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
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- Y10.Foundation.Logging.Contracts (>= 1.10.0)
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.10.0 | 83 | 9/22/2026 |