logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: functioning of IMPLEMENT_LOG4CXX_OBJECT
Date Wed, 20 Jul 2005 15:07:55 GMT

On Jul 20, 2005, at 8:48 AM, Jayant Dusane wrote:

>
> Hi all,
>  can u please tell me the actual functioning of  
> IMPLEMENT_LOG4CXX_OBJECT macro, and how it call
>
> macro is
>
>  #define IMPLEMENT_LOG4CXX_OBJECT(object)\
> object::Class##object object::theClass##object;\
> const log4cxx::helpers::Class& object::getClass() const { return  
> theClass##object; }\
> const log4cxx::helpers::Class& object::getStaticClass() { return  
> theClass##object; }
>
>  Regards
>     Jayant Dusane
>     Starent Networks India Pvt. Ltd
> Walla! Mail - get your free 3G mail today


The actual implementation of the macro is subject to change and has  
changed between log4cxx-0.9.7 and the current CVS HEAD and may still  
continue to change.  It should not be considered part of the external  
API for log4cxx.  Its primary function is to add class factories for  
concrete appenders and other classes to a hashmap that acts like a  
Java class loader used in processing configuration files.


Mime
View raw message