You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Curt Arnold <ca...@apache.org> on 2005/07/20 17:07:55 UTC

Re: functioning of IMPLEMENT_LOG4CXX_OBJECT

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.