log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter
________________________________ From: Pascal ROZE <[email protected]> To: Log4NET User <[email protected]> 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? 2008/12/16 Ron Grabowski <[email protected]> Log4net uses reflection to look see if the xml node name matches a public property on your object. ________________________________ From: Pascal ROZE <[email protected]> To: [email protected] 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 name in appender file and config file. - In the config file: <myProperty value="HelloWorld" /> - In the appender file: private string m_myproperty public string MyProperty { get { returm m_myproperty; } set { m_mypropery = value; } } I was wondering how it works but I didn't find the class/function in log4net sources. Can anyone help me? Thx a lot Cheers Pascal
