I want to inject log4net with dependency injections, but still pass the origin.
I can't pass the origin in the LogManager.GetLogger(typeof("classname"))
, because the logger is already created in the service.
Is there any way to pass the parameter after the creation of ILog
?
(I'm not using Unity, so no duplicate)