Net4x.CoreLibrary.Logging
2.5.0.3
dotnet add package Net4x.CoreLibrary.Logging --version 2.5.0.3
NuGet\Install-Package Net4x.CoreLibrary.Logging -Version 2.5.0.3
<PackageReference Include="Net4x.CoreLibrary.Logging" Version="2.5.0.3" />
<PackageVersion Include="Net4x.CoreLibrary.Logging" Version="2.5.0.3" />
<PackageReference Include="Net4x.CoreLibrary.Logging" />
paket add Net4x.CoreLibrary.Logging --version 2.5.0.3
#r "nuget: Net4x.CoreLibrary.Logging, 2.5.0.3"
#:package Net4x.CoreLibrary.Logging@2.5.0.3
#addin nuget:?package=Net4x.CoreLibrary.Logging&version=2.5.0.3
#tool nuget:?package=Net4x.CoreLibrary.Logging&version=2.5.0.3
CoreLibrary
CoreLibrary is a modular collection of .NET utility libraries, helpers, and samples created to provide common functionality across applications and projects. It is organized into multiple smaller projects (packages) so you can pick only the components you need.
Key modules
CoreLibrary.Base/CoreLibrary.Classes- foundational types, extensions, and base classes.CoreLibrary.Interfaces/CoreLibrary.Interfaces.*- interface definitions used across modules (logging, configuration, general helpers).CoreLibrary.Logging- logging abstractions and implementations, plus integrations such asCoreLibrary.SerilogandCoreLibrary.FileLogger.CoreLibrary.Files- file utilities.CoreLibrary.Threads- threading utilities and helpers.CoreLibrary.ForEach- helper utilities for collection iteration patterns.CoreLibrary.TypedBackgroundWorker- background worker with typed messages and tests.CoreLibrary.PassingProperties- utilities for passing properties/state between components.
Supported target frameworks
This repository contains projects targeting multiple frameworks to maximize compatibility, including:
- .NET Standard 2.0 / 2.1
- .NET Framework (3.5 up to 4.8.1)
- .NET 5 / .NET 6 / .NET 7 (where applicable)
Individual project .csproj files specify their exact target frameworks.
Getting started
- Clone the repository and open the solution in Visual Studio.
- Build the solution to restore NuGet packages and compile all projects.
Build from command line
Most SDK-style projects can be built with the .NET CLI:
dotnet build <project-or-solution-file>
Note: Some legacy projects target older .NET Framework TFMs and require Visual Studio/MSBuild to build successfully.
Testing
Unit tests are available in the CoreLibraryTest project(s). Run tests using Test Explorer in Visual Studio or the .NET CLI where supported:
dotnet test CoreLibraryTest/CoreLibraryTest.csproj
If multiple test project targets exist, pick the appropriate test project variant for your environment.
Packaging
Many projects are intended to be used as class libraries and may be packaged as NuGet packages. Packaging can be done with the .NET CLI where applicable:
dotnet pack <project-file>
Consult individual project settings for package metadata and versioning.
Contributing
Contributions are welcome. Suggested workflow:
- Fork the repository and create a feature branch.
- Add or update unit tests for new behavior where applicable.
- Ensure the solution builds and tests pass locally.
- Submit a pull request with a clear description of changes.
License & Attribution
Copyright (c) Piero Viano. All rights reserved.
If a separate license file is present in the repository, consult it for license details.
Contact
For questions or issues, please open an issue in the repository or contact the maintainer.
| 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 was computed. 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 was computed. 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 was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- Net4x.AsyncBridge (>= 1.5.0.7)
- Net4x.BaseTypes (>= 1.3.1.13)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.0
- Net4x.AsyncBridge (>= 1.5.0.7)
- Net4x.BaseTypes (>= 1.3.1.13)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.5
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.5.1
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.5.2
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.6
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Net4x.Extensions.Logging.Library (>= 2.5.0.4)
- Newtonsoft.Json (>= 13.0.4)
-
.NETFramework 4.6.1
- Microsoft.Extensions.Logging (>= 2.2.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.6.2
- Microsoft.Extensions.Logging (>= 2.2.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.7
- Microsoft.Extensions.Logging (>= 7.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.7.1
- Microsoft.Extensions.Logging (>= 7.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.7.2
- Microsoft.Extensions.Logging (>= 7.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.8
- Microsoft.Extensions.Logging (>= 7.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETFramework 4.8.1
- Microsoft.Extensions.Logging (>= 7.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
-
.NETStandard 2.1
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Net4x.CoreLibrary.Base (>= 2.5.0.3)
- Net4x.CoreLibrary.Classes (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Configuration (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.General.Common (>= 2.5.0.3)
- Net4x.CoreLibrary.Interfaces.Logging (>= 2.5.0.3)
- Net4x.CoreLibrary.Threads (>= 2.5.0.3)
- Newtonsoft.Json (>= 13.0.4)
- System.Configuration.ConfigurationManager (>= 8.0.0)
NuGet packages (28)
Showing the top 5 NuGet packages that depend on Net4x.CoreLibrary.Logging:
| Package | Downloads |
|---|---|
|
Net4x.Configuration.Library
Library to read and write configuration files |
|
|
Net4x.CoreLibrary.Files
Core Library Files |
|
|
Net4x.DataAccessLibrary.Models
Package Description |
|
|
Net4x.DapperLibrary.MergeUtility
Package Description |
|
|
Net4x.DataAccessLibrary.DataAccess.Classes
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.5.0.3 | 23 | 12/30/2025 |
| 2.5.0.2 | 330 | 12/13/2025 |
| 2.5.0.1 | 1,637 | 11/9/2025 |
| 2.5.0.1-at20250530080602 | 312 | 11/9/2025 |
| 2.5.0 | 7,273 | 3/31/2025 |
| 2.1.0 | 9,352 | 8/26/2023 |
| 2.1.0-at20230507044707 | 8,206 | 5/7/2023 |