logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Gacon" <alexandre.ga...@masagroup.net>
Subject RE : IMPLEMENT_LOG4CXX_OBJECT
Date Fri, 01 Jul 2005 14:17:06 GMT
In my test for developping my own appender (which is also in a separate
static library), the macro IMPLEMENT_LOG4CXX_OBJECT(MyOwnAppender)
is called but it makes my application crash.
 
Alexandre Gacon

-----Message d'origine-----
De : Labour, Matthieu (MLPRO SF) [mailto:matthieu_labour@ml.com] 
Envoyé : vendredi 1 juillet 2005 15:56
À : log4cxx-user@logging.apache.org
Objet : IMPLEMENT_LOG4CXX_OBJECT



Hi, 

I needed to develop my own appender (let's call it MyOwnAppender) and did it
in a separate static library. 

I want to use the XML configuration file to instantiate MyOwnAppender. 

The problem is that the macro IMPLEMENT_LOG4CXX_OBJECT(MyOwnAppender) never
gets called. 

How can I force it to be called so that Log4cxx registers MyOwnAppender 

I use Log4cxx.0.9.7 on Windows XP 

Thank you for any help 

Regards 

Matthieu 

  _____  

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. Click here  <http://www.ml.com/email_terms/> for
important additional terms relating to this e-mail.
http://www.ml.com/email_terms/
  _____  



Mime
View raw message