patriksvensson / blackbox

A logging library inspired by log4net, targeting .NET Framework 4 Client Profile.
http://blackbox-project.org
GNU General Public License v3.0
6 stars 0 forks source link

GetLogger() throws in Release build #17

Open SHODAN opened 12 years ago

SHODAN commented 12 years ago

When built in Release mode, LogKernel.GetLogger() throws if run in constructor of Unity-resolved class.

System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.ObjectModel.KeyedCollection2.Contains(TKey key) at BlackBox.LogKernel.GetLogger(Type type) at BlackBox.LogKernel.GetLogger()`