NextGenSoftware.Logging
2.0.4
dotnet add package NextGenSoftware.Logging --version 2.0.4
NuGet\Install-Package NextGenSoftware.Logging -Version 2.0.4
<PackageReference Include="NextGenSoftware.Logging" Version="2.0.4" />
<PackageVersion Include="NextGenSoftware.Logging" Version="2.0.4" />
<PackageReference Include="NextGenSoftware.Logging" />
paket add NextGenSoftware.Logging --version 2.0.4
#r "nuget: NextGenSoftware.Logging, 2.0.4"
#:package NextGenSoftware.Logging@2.0.4
#addin nuget:?package=NextGenSoftware.Logging&version=2.0.4
#tool nuget:?package=NextGenSoftware.Logging&version=2.0.4
NextGenSoftware.Logging
A flexible, pluggable logging library with a clean ILogger/ILogProvider abstraction — used across the entire OASIS Omniverse ecosystem (HoloNET, OASIS API, STAR ODK, OurWorld, and more).
Part of the OASIS Omniverse v2.0 Reboot. Visit oasisomniverse.one.
Features
- Pluggable provider model — register multiple simultaneous providers; all receive every log call
- Built-in DefaultLogger with configurable colour output
- File logger out of the box
- NLog integration via the companion
NextGenSoftware.Logging.NLogpackage - Write your own provider by implementing
ILogProvider - Configurable log levels and async log dispatch
- Multi-target: .NET 8, .NET 9, .NET 10
Installation
dotnet add package NextGenSoftware.Logging
Quick Start
using NextGenSoftware.Logging;
var logger = new Logger();
logger.RegisterProvider(new DefaultLogger()); // coloured console
logger.RegisterProvider(new FileLogger("app.log")); // file output
logger.Log("Application started.", LogType.Info);
logger.Log("Something went wrong!", LogType.Error);
Custom Provider
public class MyProvider : ILogProvider
{
public void Log(string message, LogType logType)
{
MyTelemetrySystem.Send(message, logType.ToString());
}
}
logger.RegisterProvider(new MyProvider());
Log Levels
| Level | Use |
|---|---|
LogType.Debug |
Verbose trace for development |
LogType.Info |
Normal operational messages |
LogType.Warning |
Recoverable unexpected conditions |
LogType.Error |
Failures requiring attention |
MIT — Copyright (c) NextGen Software Ltd 2019 - 2026
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- NextGenSoftware.CLI.Engine (>= 2.0.4)
- NextGenSoftware.ErrorHandling (>= 2.0.4)
-
net10.0
- NextGenSoftware.CLI.Engine (>= 2.0.4)
- NextGenSoftware.ErrorHandling (>= 2.0.4)
-
net8.0
- NextGenSoftware.CLI.Engine (>= 2.0.4)
- NextGenSoftware.ErrorHandling (>= 2.0.4)
-
net9.0
- NextGenSoftware.CLI.Engine (>= 2.0.4)
- NextGenSoftware.ErrorHandling (>= 2.0.4)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on NextGenSoftware.Logging:
| Package | Downloads |
|---|---|
|
NextGenSoftware.Holochain.HoloNET.Client
The world's first .NET & Unity client for Holochain. Fully supporting Holochain 0.7.1 and 0.7.0 — Kitsune2/iroh (QUIC) as sole network backend (tx5/WebRTC removed), new paginated DumpOpTimings admin and app API, AwaitingMemproofs app status, updated AdminWebsocket and AppWebsocket conductor APIs. Lightweight version: does not bundle the Holochain binaries. Use NextGenSoftware.Holochain.HoloNET.Client.Embedded if you want the conductor auto-started and managed for you. |
|
|
NextGenSoftware.Holochain.HoloNET.Client.Embedded
The world's first .NET & Unity client for Holochain. Fully supporting Holochain 0.7.1 and 0.7.0 — Kitsune2/iroh (QUIC) networking, paginated DumpOpTimings, AwaitingMemproofs app status, and the complete conductor API. This version bundles hc.exe and holochain.exe (v0.7.1 or v0.7.0) so the Holochain Conductor is auto-started and managed for you. Set HolochainConductorMode.UseEmbedded to activate. For the lightweight version without binaries use NextGenSoftware.Holochain.HoloNET.Client. |
|
|
NextGenSoftware.WebSocket
A lightweight, high-performance WebSocket client library with a clean event-driven API (OnConnected, OnDisconnected, OnDataReceived, OnError, and more). Used internally by HoloNET (Holochain .NET client) and the OASIS ecosystem. Supports .NET 8, .NET 9, and .NET 10. Easy to embed in any .NET app needing reliable, long-lived WebSocket connections. Part of the OASIS Omniverse ecosystem at https://oasisomniverse.one -- Source: https://github.com/NextGenSoftwareUK/NextGenSoftware-Libraries |
|
|
NextGenSoftware.OASIS.Common
The shared foundation layer for the entire OASIS ecosystem -- OASISResult/OASISResultCollectionWithPagination result types, shared constants, extension methods, cross-cutting error handling, and utility helpers relied upon by every other OASIS NuGet package. A transitive dependency of all OASIS packages. Part of the OASIS Omniverse at https://oasisomniverse.one |
|
|
NextGenSoftware.Holochain.HoloNET.ORM
Powerful ORM built on top of HoloNET Client for Holochain. Enables rapid hApp development via HoloNETEntryBase, HoloNETAuditEntryBase, HoloNETCollection and HoloNETObservableCollection — call Load, Save, Delete with automatic change tracking and rollback. Supports Holochain 0.7.1 and 0.7.0. Lightweight version: use NextGenSoftware.Holochain.HoloNET.ORM.Embedded if you want the conductor auto-started. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.4 | 0 | 10/16/2026 |
| 2.0.3 | 1,490 | 7/14/2026 |
| 2.0.2 | 196 | 7/14/2026 |
| 2.0.1 | 182 | 7/14/2026 |
| 2.0.0 | 6,012 | 5/26/2024 |
| 1.2.0 | 1,124 | 5/22/2023 |
| 1.1.5 | 1,421 | 12/28/2022 |
| 1.1.4 | 1,355 | 11/27/2022 |
| 1.1.3 | 6,220 | 8/27/2022 |
| 1.1.2 | 811 | 8/26/2022 |
| 1.1.1 | 1,232 | 8/25/2022 |
| 1.1.0 | 1,491 | 8/22/2022 |
| 1.0.0 | 827 | 8/18/2022 |
## 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