Re: CustomAppender and property

2008-12-16 Thread Ron Grabowski
log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter From: Pascal ROZE To: Log4NET User Sent: Tuesday, December 16, 2008 9:13:38 AM Subject: Re: CustomAppender and property Do you know in what class/function this job is done in log4net sources

Re: CustomAppender and property

2008-12-16 Thread Pascal ROZE
*To:* log4net-user@logging.apache.org > *Sent:* Tuesday, December 16, 2008 4:44:42 AM > *Subject:* CustomAppender and property > > Hi all > > I'm developping my own appender. > Looking at some examples in the Net, I've found how to create property, I > just have to use the same

Re: CustomAppender and property

2008-12-16 Thread Ron Grabowski
Log4net uses reflection to look see if the xml node name matches a public property on your object. From: Pascal ROZE To: log4net-user@logging.apache.org Sent: Tuesday, December 16, 2008 4:44:42 AM Subject: CustomAppender and property Hi all I'm develo

CustomAppender and property

2008-12-16 Thread Pascal ROZE
Hi all I'm developping my own appender. Looking at some examples in the Net, I've found how to create property, I just have to use the same name in appender file and config file. - In the config file: - In the appender file: private string m_myproperty public string MyProperty { get { ret