NextGenSoftware.Logging.NLog
2.0.4
dotnet add package NextGenSoftware.Logging.NLog --version 2.0.4
NuGet\Install-Package NextGenSoftware.Logging.NLog -Version 2.0.4
<PackageReference Include="NextGenSoftware.Logging.NLog" Version="2.0.4" />
<PackageVersion Include="NextGenSoftware.Logging.NLog" Version="2.0.4" />
<PackageReference Include="NextGenSoftware.Logging.NLog" />
paket add NextGenSoftware.Logging.NLog --version 2.0.4
#r "nuget: NextGenSoftware.Logging.NLog, 2.0.4"
#:package NextGenSoftware.Logging.NLog@2.0.4
#addin nuget:?package=NextGenSoftware.Logging.NLog&version=2.0.4
#tool nuget:?package=NextGenSoftware.Logging.NLog&version=2.0.4
NextGenSoftware.Logging.NLog
Drop-in NLog integration for NextGenSoftware.Logging — route all OASIS/HoloNET log calls through NLog's full target, rule, and layout engine with a single registration call.
Part of the OASIS Omniverse v2.0 Reboot. Visit oasisomniverse.one.
Features
- Implements
ILogProvider— one line to add NLog to any OASIS or HoloNET project - All NLog targets: file, database, Seq, Splunk, console, and 100+ community targets
- Full NLog rules, layouts, filters, and structured logging
- Runs alongside DefaultLogger and FileLogger simultaneously
- Multi-target: .NET 8, .NET 9, .NET 10
Installation
dotnet add package NextGenSoftware.Logging.NLog
Quick Start
using NextGenSoftware.Logging;
using NextGenSoftware.Logging.NLog;
var logger = new Logger();
logger.RegisterProvider(new DefaultLogger()); // keep console output
logger.RegisterProvider(new NLogProvider()); // add full NLog routing
logger.Log("Starting up...", LogType.Info);
logger.Log("Something failed!", LogType.Error);
Configure NLog via NLog.config or programmatically as normal.
NLog.config Example
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd">
<targets>
<target name="file" xsi:type="File" fileName="logs/${shortdate}.log"
layout="${longdate} ${level} ${message}" />
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="file" />
</rules>
</nlog>
MIT — Copyright (c) NextGen Software Ltd 2019 - 2026
| 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
- NextGenSoftware.Logging (>= 2.0.4)
- NLog (>= 5.0.2)
-
net8.0
- NextGenSoftware.Logging (>= 2.0.4)
- NLog (>= 5.0.2)
-
net9.0
- NextGenSoftware.Logging (>= 2.0.4)
- NLog (>= 5.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NextGenSoftware.Logging.NLog:
| Package | Downloads |
|---|---|
|
NextGenSoftware.OASIS.OASISBootLoader
The OASIS BootLoader provides a single entry point to initialise the entire OASIS ecosystem in any .NET application. Reads OASISDNA configuration, registers and activates all configured providers, sets up Auto-FailOver/LoadBalancing, and returns a ready-to-use OASIS instance. Integrate 55+ decentralised networks into your app with just a few lines of code. Part of the OASIS Omniverse at https://oasisomniverse.one |
GitHub repositories
This package is not used by any popular GitHub repositories.
## v2.0.4
- NextGenSoftware.Logging: file logging no longer slows down as log files accumulate (it listed and checked every file in the log folder on every line, so apps that log a lot - like HoloNET, which logs on its WebSocket thread - timed out); writes are serialised in-process; only MaxLogFiles (default 50) log files are kept. Faulty log providers can't break logging (snapshot of providers).
- NextGenSoftware.WebSocket: the receive loop runs on the thread pool (it inherited the caller's SynchronizationContext, so WPF/WinForms apps handled every message on the UI thread and froze on any blocking call); TrySendRawDataAsync reports send failures instead of throwing.
- All NextGenSoftware libraries bumped to 2.0.4 together.
---
## v2.0.1 — OASIS Omniverse Reboot (2026)
Part of the biggest NextGen Software release in years! The full OASIS Omniverse ecosystem — powering Our World, the OASIS API (85+ NuGet packages), HoloNET (Holochain .NET client), STAR ODK, and more — has been fully relaunched and rebranded at https://oasisomniverse.one/
After years of continuous development this is the first major v2 release, representing a complete overhaul and modernisation of the entire NextGen Software foundation.
### What's New in v2.0.1
- Added .NET 10 support: now multi-targeting net8.0, net9.0, and net10.0 for future-proof compatibility
- Copyright updated: NextGen Software Ltd 2019 - 2026
- Part of the unified OASIS Omniverse ecosystem at https://oasisomniverse.one/
- Significantly improved error handling, robustness, and API consistency
- Full alignment with the new OASIS Omniverse architecture (WEB4 through WEB10 API tiers)
- All packages updated with correct metadata, repository URLs, and project URLs
- Multiple bug fixes and stability improvements
- Open source under MIT licence -- https://github.com/NextGenSoftwareUK/NextGenSoftware-Libraries