RoBlog – Refactoring Reality

Discrete thought packets on .Net, software development and the universe; transmitted by Rob Levine

Using log4net with Unity

by Rob Levine on 28-Dec-2012

[EDIT: the Unity extension described here is now available as a NuGet package. See this post for more information] When using log4net, it is quite common to create loggers for each class using something like: 1 2 3 4 public class MyClass { private static readonly ILog logger = LogManager.GetLogger(typeof(MyClass)); }public class MyClass { private […]