Arkn.Logging
0.3.2
dotnet add package Arkn.Logging --version 0.3.2
NuGet\Install-Package Arkn.Logging -Version 0.3.2
<PackageReference Include="Arkn.Logging" Version="0.3.2" />
<PackageVersion Include="Arkn.Logging" Version="0.3.2" />
<PackageReference Include="Arkn.Logging" />
paket add Arkn.Logging --version 0.3.2
#r "nuget: Arkn.Logging, 0.3.2"
#:package Arkn.Logging@0.3.2
#addin nuget:?package=Arkn.Logging&version=0.3.2
#tool nuget:?package=Arkn.Logging&version=0.3.2
Arkn.Logging
Conventions you can read. Patterns you can enforce.
Structured logging with pluggable sinks and Microsoft.Extensions.Logging bridge.
Install
dotnet add package Arkn.Logging
Quick example
// Create logger with sinks
var sink = new InMemoryLogSink();
var logger = new ArknLogger([sink]);
logger.Log("Invoice processed", LogLevel.Information, new
{
InvoiceId = invoice.Id,
Amount = invoice.Total
});
// Bridge to MEL
builder.Logging.AddArknLogging(options =>
{
options.AddSink<ConsoleSink>();
});
Part of the Arkn ecosystem
github.com/fernando-terra/arkn · nuget.org/packages/Arkn.Logging
| 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 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
- Arkn.Core (>= 0.3.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
-
net8.0
- Arkn.Core (>= 0.3.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
-
net9.0
- Arkn.Core (>= 0.3.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Arkn.Logging:
| Package | Downloads |
|---|---|
|
Arkn.Jobs
Zero-dependency job scheduling for .NET 10 — cron, retry, timeout and structured logs per run. |
|
|
Arkn.Http
Fluent, typed HTTP client for modern .NET — returns Result<T> natively. Zero external dependencies. |
|
|
Arkn.Extensions.Logging.ApplicationInsights
Application Insights sink for Arkn.Logging — zero-config telemetry integration. |
|
|
Arkn.Extensions.Logging.Elasticsearch
Elasticsearch sink for Arkn.Logging — sends logs via Bulk API. Zero NEST/Elastic SDK dependency. |
|
|
Arkn.Extensions.Logging.Seq
Seq sink for Arkn.Logging — sends structured logs via HTTP using CLEF format. Zero Serilog dependency. |
GitHub repositories
This package is not used by any popular GitHub repositories.