Hi, I am trying to migrate to log4cxx 0.10 from log4cxx 0.9.7. There is a custom level class implemented in namespace X inheriting from log4cxx::Level. In this class I have declared this macro DECLARE_LOG4CXX_LEVEL while macro IMPLEMENT_LOG4CXX_LEVEL is called outside the class. However on trying to compile the my code it states that ‘X::log4cxx::helpers’ has not been declared. This code was getting compiled using version 0.9.7 This is at the line where I called macro IMPLEMENT_LOG4CXX_LEVEL passing it the name of my class.
I have tried macro expanding and it looks just like the ealier code except for one function registerClass. Is this error due to way the log4cxx is using registerClass or due to my incorrect usage? Please suggest. Thanks, Manas