Fody/Anotar — pull request #17 by distantcam (2013-06-29 02:05:41+00:00)
Title: Loggers created with main class, not nested compiler generated class

When using Anotar.NLog and logging the type in the log message we were getting a lot of logs like this.

SomeClass/<>c__DisplayClass8 [DEBUG] Log message
ClassWithStuff/d_4 [DEBUG] LogMessage

These types are the compiler generated types from using lambdas, yields and async. This PR removes the compiler generated type and uses the original declaring type to create the logger.

This does not affect the log prefix that Anotar adds, so that still has the compiler generated type in the log message.