logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal ROZE" <pascal.r...@gmail.com>
Subject CustomAppender and property
Date Tue, 16 Dec 2008 09:44:42 GMT
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

Can anyone help me?

Thx a lot


View raw message