Home

Awesome

Build status License NuGet NuGet

log4net adapter for Unity container

Unity extension to integrate with popular log4net logger.

Getting Started

Install-Package Unity.log4net

Registration

container = new UnityContainer();
container.AddNewExtension<Log4NetExtension>();
public class LoggedType
{
    public LoggedType(ILog log)
    {
    }
  ...
}

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct

Contributing

See the Contributing guide for more information.

.NET Foundation

Unity Container is a .NET Foundation project