Nano.Logging.NLog
10.0.0-preview1
See the version list below for details.
dotnet add package Nano.Logging.NLog --version 10.0.0-preview1
NuGet\Install-Package Nano.Logging.NLog -Version 10.0.0-preview1
<PackageReference Include="Nano.Logging.NLog" Version="10.0.0-preview1" />
<PackageVersion Include="Nano.Logging.NLog" Version="10.0.0-preview1" />
<PackageReference Include="Nano.Logging.NLog" />
paket add Nano.Logging.NLog --version 10.0.0-preview1
#r "nuget: Nano.Logging.NLog, 10.0.0-preview1"
#:package Nano.Logging.NLog@10.0.0-preview1
#addin nuget:?package=Nano.Logging.NLog&version=10.0.0-preview1&prerelease
#tool nuget:?package=Nano.Logging.NLog&version=10.0.0-preview1&prerelease
Nano.Logging.NLog
NLog logging for Nano applications._
Table of Contents
Summary
This package provides the NLog logging provider for Nano.
The provider is preconfigured to write log output to the console using a concise format:
${date:format=dd-MM-yyyy HH\\:mm\\:ss.ffffff} [${level:uppercase=true:truncate=3}] ${message}${onexception:${newline}${exception:format=toString}}
📖 Learn more about Nano Logging.
Try it out yourself using the Api.Logging.NLog or Console.Logging.NLog example.
Registration
Install the Nano.Logging.NLog NuGet package.
dotnet add package Nano.Logging.NLog;
Register the NLogProvider provider during application startup in the ConfigureServices(...) method.
...
.ConfigureServices(services =>
{
services
.AddNanoLogging<NLogProvider>();
})
...
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Microsoft.Extensions.Logging.Console (>= 10.0.7)
- Nano.Logging (>= 10.0.0-preview1)
- NLog (>= 6.1.2)
- NLog.Extensions.Logging (>= 6.1.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nano.Logging.NLog:
| Package | Downloads |
|---|---|
|
Nano.All
This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-preview2 | 76 | 4/25/2026 |
| 10.0.0-preview1 | 71 | 4/24/2026 |
- .NET 10 support.
- Comprehensive rewrite with performance optimizations, improvements, and bug fixes.
- Not compatible with previous versions of Nano.