Skip to main content
NLog.Targets.Loki package icon

NLog.Targets.Loki

An NLog target that sends messages to Grafana Loki using Grafana Loki's HTTP Push API

Total Downloads
1.8M
1,803,981
Published
Mar 26, 2026
Latest stable version

Install

.NET CLI
dotnet add package NLog.Targets.Loki --version 2.5.0
Package Manager Console
Install-Package NLog.Targets.Loki -Version 2.5.0
PackageReference
<PackageReference Include="NLog.Targets.Loki" Version="2.5.0" />

Frameworks

.NETFramework4.7.1 net8.0 .NETStandard2.0

Dependencies

NLog
.NETFramework4.7.1
[5.3.4, )
System.Net.Http.Json
.NETFramework4.7.1
[10.0.1, )
NLog
net8.0
[5.3.4, )
NLog
.NETStandard2.0
[5.3.4, )
System.Net.Http.Json
.NETStandard2.0
[10.0.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.