[ 
https://issues.apache.org/jira/browse/LOG4NET-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017947#comment-16017947
 ] 

Dominik Psenner commented on LOG4NET-565:
-----------------------------------------

Apologies, can't imagine how this all works together. For example I do not 
understand why GetInstance(Type appenderType) needs to be called when the 
appenderType is already known. Assuming appenderType has a default ctor() that 
requires to arguments, reflection can create an instance of that appender 
without calling GetInstance().

Would you please file a patch or open a pull request? I am sure this would ease 
understanding how you imagine this to work.

> Dependency Injection support appender and logger types
> ------------------------------------------------------
>
>                 Key: LOG4NET-565
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-565
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders, Core
>            Reporter: Hitesh Chauhan
>              Labels: Enhancement
>
> I have seen demand for dependency injection support in log4net. I have added 
> that behavior to my local repository. And I would like to push that to 
> log4net library.
> e.g. appender configuration
> <appender
> name="ServiceAppender" 
> type="LoggingServiceAppender"               
> serviceLocatorType="Log4NetServiceLocator">



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to