I have a Self Host ASP.net WEB API v.4.0.20710.0, that is a legacy package which I got via NuGet.
So my question is if it is possible to get an reference of my logging class to a controller, because they seem to get instanciated somewhere in external code that I can not access.
The only possible solution I see is to make the logging class static, but that would be really uncomfortable. Any other ideas?