CrispyWaffle.Log4Net
10.5.2
See the version list below for details.
dotnet add package CrispyWaffle.Log4Net --version 10.5.2
NuGet\Install-Package CrispyWaffle.Log4Net -Version 10.5.2
<PackageReference Include="CrispyWaffle.Log4Net" Version="10.5.2" />
<PackageVersion Include="CrispyWaffle.Log4Net" Version="10.5.2" />
<PackageReference Include="CrispyWaffle.Log4Net" />
paket add CrispyWaffle.Log4Net --version 10.5.2
#r "nuget: CrispyWaffle.Log4Net, 10.5.2"
#:package CrispyWaffle.Log4Net@10.5.2
#addin nuget:?package=CrispyWaffle.Log4Net&version=10.5.2
#tool nuget:?package=CrispyWaffle.Log4Net&version=10.5.2
CrispyWaffle.Log4Net
Part of Crispy Waffle, a toolkit for .NET projects.
CrispyWaffle.Log4Net is a bridge that sends CrispyWaffle log calls to an Apache log4net logger. Use it when your application already configures log4net appenders and you want messages written through LogConsumer to go to the same destinations.
| Package | CrispyWaffle.Log4Net |
| Namespace | CrispyWaffle.Log4Net |
| Install | dotnet add package CrispyWaffle.Log4Net |
| Depends on | CrispyWaffle, log4net |
Supported frameworks
This package targets .NET Standard 2.0, .NET Standard 2.1, .NET 8.0, .NET 9.0 and .NET 10.0.
Getting started
using System.IO;
using System.Reflection;
using CrispyWaffle.Log;
using CrispyWaffle.Log4Net;
using log4net;
using log4net.Config;
var repository = LogManager.GetRepository(Assembly.GetEntryAssembly());
XmlConfigurator.Configure(repository, new FileInfo("log4net.config"));
var log = LogManager.GetLogger(typeof(Program));
LogConsumer.AddProvider(new Log4NetLogProvider(log)).SetLevel(LogLevel.All);
LogConsumer.Info("Application started");
Documentation
The full reference and more examples for this package are on the CrispyWaffle.Log4Net documentation page.
License
Released under the MIT License.
| 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 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. 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. |
-
.NETStandard 2.0
- CrispyWaffle (>= 10.5.2)
- log4net (>= 3.5.0)
-
.NETStandard 2.1
- CrispyWaffle (>= 10.5.2)
- log4net (>= 3.5.0)
-
net10.0
- CrispyWaffle (>= 10.5.2)
- log4net (>= 3.5.0)
-
net8.0
- CrispyWaffle (>= 10.5.2)
- log4net (>= 3.5.0)
-
net9.0
- CrispyWaffle (>= 10.5.2)
- log4net (>= 3.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.5.8 | 46 | 11/15/2026 |
| 10.5.7 | 48 | 11/15/2026 |
| 10.5.6 | 44 | 11/15/2026 |
| 10.5.5 | 46 | 11/15/2026 |
| 10.5.4 | 43 | 11/15/2026 |
| 10.5.3 | 44 | 11/15/2026 |
| 10.5.2 | 44 | 11/15/2026 |
| 10.5.1 | 50 | 11/15/2026 |
| 10.5.0 | 52 | 11/15/2026 |
| 10.4.20 | 55 | 11/13/2026 |
| 10.4.19 | 51 | 11/13/2026 |
| 10.4.18 | 72 | 11/10/2026 |
| 10.4.17 | 94 | 11/8/2026 |
| 10.4.16 | 87 | 11/6/2026 |
| 10.4.15 | 82 | 11/6/2026 |
| 10.4.14 | 88 | 11/5/2026 |
| 10.4.13 | 93 | 11/5/2026 |
| 10.4.12 | 109 | 10/23/2026 |
| 10.4.11 | 102 | 10/23/2026 |
| 10.4.10 | 116 | 10/20/2026 |
Log4Net release