Several possible solutions. The easiest is to inject a factory for the log service, rather than the log service itself. The class can then use the factory to create the specific instance it needs by passing the user and HTTPContext to the factory method.