I would like to inject ILog into my classes, not an ILoggerFactoryAdapter, but the ILoggerFactoryAdapter needs the name of the calling class (the class that wants to log something, so i can be properly categorized) so can Autofac somehow identify the class which are requesting the ILog and automaticly create the ILog from the factory?
I would like to inject ILog into my classes, not an ILoggerFactoryAdapter, but the
Share
Bailey Ling came up with a great approach that doesn’t use stack walking – see post here: http://groups.google.com/group/autofac/msg/704f926779cbe8b3