so I am putting together a project using NLog with Postsharp. I have a OnMethodBoundaryAspect attribute descendant to decorate classes and provide for intercepted execution for logging. My DI container is Unity.
So, using DI alone (not ServiceLocator), how would I resolve the Log object inside the aspect class to provide logging? In the past I have used ServiceLocator to resolve the log object, but I am trying to get away from that as I am really starting to believe that ServiceLocator really is an anti-pattern (yes I am aware that there is a bit of a holy war on this issue).
Thanks!