DogmaSolutions.Log4NetExtensions
7.0.893
dotnet add package DogmaSolutions.Log4NetExtensions --version 7.0.893
NuGet\Install-Package DogmaSolutions.Log4NetExtensions -Version 7.0.893
<PackageReference Include="DogmaSolutions.Log4NetExtensions" Version="7.0.893" />
<PackageVersion Include="DogmaSolutions.Log4NetExtensions" Version="7.0.893" />
<PackageReference Include="DogmaSolutions.Log4NetExtensions" />
paket add DogmaSolutions.Log4NetExtensions --version 7.0.893
#r "nuget: DogmaSolutions.Log4NetExtensions, 7.0.893"
#:package DogmaSolutions.Log4NetExtensions@7.0.893
#addin nuget:?package=DogmaSolutions.Log4NetExtensions&version=7.0.893
#tool nuget:?package=DogmaSolutions.Log4NetExtensions&version=7.0.893
DogmaSolutions.Log4NetExtensions
log4net extensions: conditional logging, level-to-color mapping, trace utilities, and auto-flushing ADO.NET appender.
Part of the Dogma Solutions "Foundation" project.
Features
- Conditional logging — log messages only when specific conditions are met
- Level-to-color mapping — map log4net log levels to console colors for visual differentiation
- Trace utilities — log4net integration with .NET tracing infrastructure
- Auto-flushing ADO.NET appender — ADO.NET appender that automatically flushes buffered log entries
- Logger interface —
IHasLoginterface for types that expose a log4net logger
Supported Frameworks and Platforms
| Target | Notes |
|---|---|
| .NET Standard 2.0 | Broad compatibility |
| .NET 8.0 | LTS |
| .NET 9.0 | STS |
| .NET 10.0 | Current |
| .NET Framework 4.7.2 | Legacy support |
Runs on all platforms supported by .NET: Windows, Linux, and macOS.
Dependencies
External dependencies: JetBrains.Annotations, Microsoft.Extensions.Logging.Abstractions, log4net.
Installation
dotnet add package DogmaSolutions.Log4NetExtensions
License
See the "Foundation" repository for license details.
| 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 | 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 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| 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 4.7.2
- JetBrains.Annotations (>= 2026.2.0)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- log4net (>= 3.3.2)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.32)
- System.Text.Encodings.Web (>= 8.0.0)
-
.NETStandard 2.0
- JetBrains.Annotations (>= 2026.2.0)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- log4net (>= 3.3.2)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.32)
- System.Text.Encodings.Web (>= 8.0.0)
-
net10.0
- JetBrains.Annotations (>= 2026.2.0)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- log4net (>= 3.3.2)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
-
net8.0
- JetBrains.Annotations (>= 2026.2.0)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- log4net (>= 3.3.2)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
-
net9.0
- JetBrains.Annotations (>= 2026.2.0)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- log4net (>= 3.3.2)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.19)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on DogmaSolutions.Log4NetExtensions:
| Package | Downloads |
|---|---|
|
DogmaSolutions.Tasking
Async/threading utilities: semaphores, polling, task reporting, thread tracking, and sync-over-async helpers. |
|
|
DogmaSolutions.Utils
Library containing a set of utils, services and design pattern implementations POCOs. |
|
|
DogmaSolutions.Tests
NUnit test infrastructure: category constants, retry attributes, and test utility helpers. |
|
|
DogmaSolutions.Data.Sql
ADO.NET utilities: connection management, parameterized commands, SQL query building, and diagnostics. |
|
|
DogmaSolutions.VisualStudio
Library containing a set of common utils for Visual Studio extension. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.893 | 241 | 8/27/2026 |
| 6.1.350 | 1,606 | 4/15/2026 |
| 6.1.346 | 2,013 | 12/3/2025 |
| 6.1.345 | 1,687 | 11/20/2025 |
| 6.0.344 | 3,472 | 11/19/2025 |
| 6.0.343 | 502 | 11/19/2025 |
| 6.0.342 | 1,755 | 11/7/2025 |
| 6.0.341 | 1,471 | 11/7/2025 |
| 6.0.340 | 1,459 | 10/29/2025 |
| 6.0.337 | 1,473 | 10/17/2025 |
| 6.0.336 | 1,510 | 10/17/2025 |
| 5.1.337 | 1,287 | 11/7/2025 |
| 5.1.336 | 1,231 | 11/7/2025 |
| 5.1.335 | 1,380 | 10/29/2025 |
| 5.1.334 | 1,492 | 10/16/2025 |
| 5.0.335 | 1,345 | 10/29/2025 |
| 4.6.343 | 1,026 | 7/3/2026 |
| 4.5.335 | 1,407 | 10/29/2025 |
| 4.4.328 | 1,165 | 10/29/2025 |