This project is read-only.

Passing in Logger to Module

Topics: Customizing Orchard, General, Writing modules
Apr 9, 2013 at 7:59 PM
I want to pass the default logger to my custom module.
I know that the autofac instantiates the object. It appears that all the ioc instantiated objects are passed in as constructor parameters. I am confused as to which object to pass in, or if how to gain reference to something that implements IHostEnvironment if I need to instantiate it myself.
Apr 10, 2013 at 8:27 AM
Look for existing usage.