NLog: Dependency Injection for custom Targets

I am a user of NLog and I am creating my own custom target. This target will use some repositories (using NHibernate) to persist log entries.

Is it possible to inject the required constructor dependencies of custom targets using any IoC framework, preferably StructureMap?

Regards,

J

5
задан JB. 17 May 2011 в 08:21
поделиться