00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00016 #ifndef _LOG4CPLUS_SPI_LOGGER_FACTORY_HEADER
00017 #define _LOG4CPLUS_SPI_LOGGER_FACTORY_HEADER
00018
00019 #include <log4cplus/config.h>
00020 #include <log4cplus/tstring.h>
00021 #include <log4cplus/helpers/pointer.h>
00022
00023
00024 namespace log4cplus {
00025
00026 class Logger;
00027 class Hierarchy;
00028
00029 namespace spi {
00034 class LOG4CPLUS_EXPORT LoggerFactory {
00035 public:
00039 virtual Logger makeNewLoggerInstance(const log4cplus::tstring& name,
00040 Hierarchy& h) = 0;
00041 virtual ~LoggerFactory(){}
00042 };
00043
00044 }
00045 }
00046
00047 #endif // _LOG4CPLUS_SPI_LOGGER_FACTORY_HEADER
00048