Skip to main content
Extensions.Logging.Log4Net package icon

Extensions.Logging.Log4Net

Allows to configure Log4net as Microsoft Extensions Logging handler on any .NET Core application. Original code proposal by @anuraj --> https://dotnetthoughts.net/how-to-use-log4net-with-aspnetcore-for-logging/

Total Downloads
26.6K
26,558
Published
Dec 14, 2023
Latest stable version

Install

.NET CLI
dotnet add package Extensions.Logging.Log4Net --version 0.4.0
Package Manager Console
Install-Package Extensions.Logging.Log4Net -Version 0.4.0
PackageReference
<PackageReference Include="Extensions.Logging.Log4Net" Version="0.4.0" />

Frameworks

.NETFramework4.8 net6.0 net8.0

Dependencies

[8.0.0, )
log4net
.NETFramework4.8
[2.0.15, )
log4net
net6.0
[2.0.15, )
log4net
net8.0
[2.0.15, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.