1 /************************************************************************/
4 /************************************************************************/
9 #define XY_TEXT(x) L##x
23 log4cplus::Logger g_logger
= log4cplus::Logger::getInstance( XY_TEXT("global_logger_xy") );
26 void doConfigure(const log4cplus::tstring
& configFilename
)
29 log4cplus::Hierarchy
& h
= log4cplus::Logger::getDefaultHierarchy();
31 log4cplus::PropertyConfigurator::doConfigure(configFilename
, h
, flags
);
35 } //namespace xy_logger