Hello, I've created my own appender i I wan't to add an extra parameter
to xml configuration file. How to get to the value of it from code level
? Here is example :
class MyAppender
{
...
protected:
std::string _MyParam;
...
}
<appender name="MyApp" class="org.apache.log4j.MyAppender">
...
<param name="MyParam" value="MyParamValue" />
<param name="Append" value="true" />
...
</appender>
I wan't to assign MyParamValue to _MyParam. How can I do that ?
----------------------------------------------------
Podróż w przeszłość - tysiące atrakcji w całej Polsce,
tylko we wrześniu - Zajrzyj na stronę Edd.com.pl - Kliknij:
http://klik.wp.pl/?adr=www.edd.com.pl&sid=9